mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-14 11:00:08 +01:00
rtmp_write_amf_data: remove dead code
Fixes CID732199 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -256,9 +256,6 @@ static int rtmp_write_amf_data(URLContext *s, char *param, uint8_t **p)
|
|||||||
*value = '\0';
|
*value = '\0';
|
||||||
value++;
|
value++;
|
||||||
|
|
||||||
if (!field || !value)
|
|
||||||
goto fail;
|
|
||||||
|
|
||||||
ff_amf_write_field_name(p, field);
|
ff_amf_write_field_name(p, field);
|
||||||
} else {
|
} else {
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|||||||
Reference in New Issue
Block a user