mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
mpegts: Warn if unable to seek back
Originally committed as revision 24477 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c226fc5bfb
commit
8dd25c52cb
@ -1387,7 +1387,8 @@ static int mpegts_read_header(AVFormatContext *s,
|
||||
/* normal demux */
|
||||
|
||||
/* first do a scaning to get all the services */
|
||||
url_fseek(pb, pos, SEEK_SET);
|
||||
if (url_fseek(pb, pos, SEEK_SET) < 0)
|
||||
av_log(s, AV_LOG_ERROR, "Unable to seek back to the start\n");
|
||||
|
||||
mpegts_open_section_filter(ts, SDT_PID, sdt_cb, ts, 1);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user