Commit 298c4e3c authored by Mike Williams's avatar Mike Williams Committed by Anton Khirnov

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: 's avatarMike Williams <mike@mikebwilliams.com>
Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 8f9d3f6d
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment