diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-21 00:57:30 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-21 00:57:30 +0400 |
commit | 3a8b66af6cf6af9da5ff97a5930d10a7a4568558 (patch) | |
tree | 4b6e458a0dfad5a13d2e7387c146445eb7866441 /libavformat | |
parent | e4ef2e073c2986d3e205fe02fd8d502e5d80c3cf (diff) |
rtmp_write_amf_data: remove dead code
Fixes CID732199
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-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; |