aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-20 22:57:30 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-20 22:57:30 +0200
commit3a8b66af6cf6af9da5ff97a5930d10a7a4568558 (patch)
tree4b6e458a0dfad5a13d2e7387c146445eb7866441
parente4ef2e073c2986d3e205fe02fd8d502e5d80c3cf (diff)
downloadffmpeg-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.c3
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;