]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/v308enc.c
Document new APIs for av_packet_{un, }pack_dictionary()
[ffmpeg] / libavcodec / v308enc.c
index 7a97d5ad3aeca3ece24ad709f958c8260bb12737..c6c5ac5015ab16f56ac51161a12b35a756a916c4 100644 (file)
@@ -31,7 +31,7 @@ static av_cold int v308_encode_init(AVCodecContext *avctx)
         return AVERROR_INVALIDDATA;
     }
 
-    avctx->coded_frame = avcodec_alloc_frame();
+    avctx->coded_frame = av_frame_alloc();
 
     if (!avctx->coded_frame) {
         av_log(avctx, AV_LOG_ERROR, "Could not allocate frame.\n");