mirror of https://git.ffmpeg.org/ffmpeg.git
resync from last syncpoint
Originally committed as revision 7075 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a26353e211
commit
8ba3e5d843
|
@ -773,7 +773,7 @@ static int nut_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||||
default:
|
default:
|
||||||
resync:
|
resync:
|
||||||
av_log(s, AV_LOG_DEBUG, "syncing from %"PRId64"\n", pos);
|
av_log(s, AV_LOG_DEBUG, "syncing from %"PRId64"\n", pos);
|
||||||
tmp= find_any_startcode(bc, pos+1);
|
tmp= find_any_startcode(bc, nut->last_syncpoint_pos+1);
|
||||||
if(tmp==0)
|
if(tmp==0)
|
||||||
return -1;
|
return -1;
|
||||||
av_log(s, AV_LOG_DEBUG, "sync\n");
|
av_log(s, AV_LOG_DEBUG, "sync\n");
|
||||||
|
|
Loading…
Reference in New Issue