diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-20 22:57:30 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-20 22:57:30 +0200 |
commit | 3a8b66af6cf6af9da5ff97a5930d10a7a4568558 (patch) | |
tree | 4b6e458a0dfad5a13d2e7387c146445eb7866441 | |
parent | e4ef2e073c2986d3e205fe02fd8d502e5d80c3cf (diff) | |
download | ffmpeg-3a8b66af6cf6af9da5ff97a5930d10a7a4568558.tar.gz |
rtmp_write_amf_data: remove dead code
Fixes CID732199
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/rtmpproto.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index dbe987058a..1d00cbb43f 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -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; |