From: Mike Williams Date: Thu, 14 Jul 2011 20:49:21 +0000 (-0400) Subject: mpegts: remove invalid error check X-Git-Tag: v0.8b1~1884 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=298c4e3c522a1bc43cb557efe2e443be2ee80bb5;p=platform%2Fupstream%2Flibav.git mpegts: remove invalid error check mpegts_read_header is used by both mpegts and mpegtsraw, so this erro check is no longer valid. Signed-off-by: Mike Williams Signed-off-by: Anton Khirnov --- diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index b8f02ab..e9b984d 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -1470,10 +1470,6 @@ static int mpegts_read_header(AVFormatContext *s, if (ap) { if (ap->mpeg2ts_compute_pcr) ts->mpeg2ts_compute_pcr = ap->mpeg2ts_compute_pcr; - if(ap->mpeg2ts_raw){ - av_log(s, AV_LOG_ERROR, "use mpegtsraw_demuxer!\n"); - return -1; - } } #endif