Commit edd0d3b4 authored by michael's avatar michael

resync from last syncpoint


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7075 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 00824182
...@@ -773,7 +773,7 @@ static int nut_read_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -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");
......
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