mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
rtmp_write_amf_data: remove dead code
Fixes CID732199 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e4ef2e073c
commit
3a8b66af6c
@ -256,9 +256,6 @@ static int rtmp_write_amf_data(URLContext *s, char *param, uint8_t **p)
|
||||
*value = '\0';
|
||||
value++;
|
||||
|
||||
if (!field || !value)
|
||||
goto fail;
|
||||
|
||||
ff_amf_write_field_name(p, field);
|
||||
} else {
|
||||
goto fail;
|
||||
|
Loading…
Reference in New Issue
Block a user