[FFmpeg-cvslog] r10544 - trunk/libavformat/nsvdec.c
michael
subversion
Sat Sep 22 10:55:17 CEST 2007
Author: michael
Date: Sat Sep 22 10:55:17 2007
New Revision: 10544
Log:
fix segfault with http://samples.mplayerhq.hu/nsv/nsv_samples/ot171_novideo.nsv.bz2
bug introduced in r8466
closes issue179
Modified:
trunk/libavformat/nsvdec.c
Modified: trunk/libavformat/nsvdec.c
==============================================================================
--- trunk/libavformat/nsvdec.c (original)
+++ trunk/libavformat/nsvdec.c Sat Sep 22 10:55:17 2007
@@ -609,6 +609,7 @@ null_chunk_retry:
PRINT(("NSV video: [%d] = %02x\n", i, pkt->data[i]));
*/
}
+ if(st[NSV_ST_VIDEO])
((NSVStream*)st[NSV_ST_VIDEO]->priv_data)->frame_offset++;
if (asize/*st[NSV_ST_AUDIO]*/) {
More information about the ffmpeg-cvslog
mailing list