Browse Source

fix segfault with http://samples.mplayerhq.hu/nsv/nsv_samples/ot171_novideo.nsv.bz2

bug introduced in r8466
closes issue179

Originally committed as revision 10544 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
638f489ccd
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/nsvdec.c

+ 1
- 0
libavformat/nsvdec.c View File

@@ -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]*/) {


Loading…
Cancel
Save