aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtmpproto.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-10-18 16:58:44 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-10-20 10:44:22 +0100
commit322b571d5591978efd6f6fee12181ac8900079fe (patch)
tree06429fe0cc216193ad59bb5a52e9810f8d16b70f /libavformat/rtmpproto.c
parentd1afd3e1d6e43f4d37ae147091f270124ac48e04 (diff)
downloadffmpeg-322b571d5591978efd6f6fee12181ac8900079fe.tar.gz
rtmpproto: remove dead code
Expression already evaluated before, redundant since 053386864219eccbcca1886c55f902f9555428a5. Bug-Id: CID 732199
Diffstat (limited to 'libavformat/rtmpproto.c')
-rw-r--r--libavformat/rtmpproto.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index d0e97920f5..5ff661a465 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -276,9 +276,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;