ffmpeg | branch: master | Vittorio Giovara <[email protected]> | Sat Oct 18 16:58:44 2014 +0100| [322b571d5591978efd6f6fee12181ac8900079fe] | committer: Vittorio Giovara
rtmpproto: remove dead code Expression already evaluated before, redundant since 053386864219eccbcca1886c55f902f9555428a5. Bug-Id: CID 732199 > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=322b571d5591978efd6f6fee12181ac8900079fe --- libavformat/rtmpproto.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index d0e9792..5ff661a 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; _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
