From 322b571d5591978efd6f6fee12181ac8900079fe Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Sat, 18 Oct 2014 16:58:44 +0100 Subject: rtmpproto: remove dead code Expression already evaluated before, redundant since 053386864219eccbcca1886c55f902f9555428a5. Bug-Id: CID 732199 --- libavformat/rtmpproto.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavformat/rtmpproto.c') 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; -- cgit v1.2.3