]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/yuv4enc.c
Document new APIs for av_packet_{un, }pack_dictionary()
[ffmpeg] / libavcodec / yuv4enc.c
index 8d3907bc7affd0a637b8b259d0ae12e2125e226c..ed0fc776db1074728ca4436c5f7da2485f0c325b 100644 (file)
@@ -25,7 +25,7 @@
 
 static av_cold int yuv4_encode_init(AVCodecContext *avctx)
 {
-    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");