h264 nal decoding fix by (Laurent Aimar <fenrir at via dot ecp dot fr>)

Originally committed as revision 3044 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 21 years ago
parent 693399ba55
commit c8470cc173
  1. 1
      libavcodec/h264.c

@ -1065,6 +1065,7 @@ static uint8_t *decode_nal(H264Context *h, uint8_t *src, int *dst_length, int *c
dst[di++]= 0;
dst[di++]= 0;
si+=3;
continue;
}else //next start code
break;
}

Loading…
Cancel
Save