]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mpeg4video_parser.c
timecode: fix typo
[ffmpeg] / libavcodec / mpeg4video_parser.c
index c331435cc1309fc3bdc75c2881280320ae544802..3bd2b14291011715642a1f8015a632655030aa60 100644 (file)
@@ -20,6 +20,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#define UNCHECKED_BITSTREAM_READER 1
+
 #include "parser.h"
 #include "mpegvideo.h"
 #include "mpeg4video.h"
@@ -100,6 +102,7 @@ static av_cold int mpeg4video_parse_init(AVCodecParserContext *s)
         return -1;
     pc->first_picture = 1;
     pc->enc->quant_precision=5;
+    pc->enc->slice_context_count = 1;
     return 0;
 }