summaryrefslogtreecommitdiff
path: root/libavformat/nutdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-11-14 22:23:26 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-11-14 22:23:26 +0000
commit8ba3e5d84351db957a3b94e5daaaf7fbdb685828 (patch)
treeb668b2147ad296408e6efb1a43eff92de268a122 /libavformat/nutdec.c
parenta26353e211c67cf29c1a3817c0e78e61d9ad61cc (diff)
downloadffmpeg-8ba3e5d84351db957a3b94e5daaaf7fbdb685828.tar.gz
resync from last syncpoint
Originally committed as revision 7075 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nutdec.c')
-rw-r--r--libavformat/nutdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index 73e2b09e93..97bad2410d 100644
--- a/libavformat/nutdec.c
+++ b/libavformat/nutdec.c
@@ -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");