]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/movenchint.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavformat / movenchint.c
index 4e69c73407c7145a8f8a4852a0c05f511f55ec86..8e96355abcd8a1b853b9a32614faf2949d64be04 100644 (file)
@@ -36,7 +36,7 @@ int ff_mov_init_hinting(AVFormatContext *s, int index, int src_index)
     track->tag = MKTAG('r','t','p',' ');
     track->src_track = src_index;
 
-    track->enc = avcodec_alloc_context();
+    track->enc = avcodec_alloc_context3(NULL);
     if (!track->enc)
         goto fail;
     track->enc->codec_type = AVMEDIA_TYPE_DATA;