Commit 8ba3e5d8 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

resync from last syncpoint

Originally committed as revision 7075 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a26353e2
......@@ -773,7 +773,7 @@ static int nut_read_packet(AVFormatContext *s, AVPacket *pkt)
default:
resync:
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)
return -1;
av_log(s, AV_LOG_DEBUG, "sync\n");
......
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