]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libtheoraenc.c
avcodec/pcm-dvd: print actual block size values in block size changed warning
[ffmpeg] / libavcodec / libtheoraenc.c
index 9fa096fca755c4bc6db0db4ad552ee2bd35c4860..5d27c6364f9db519f6259fb6aa8f634168ae535a 100644 (file)
@@ -264,7 +264,7 @@ static av_cold int encode_init(AVCodecContext* avc_context)
     th_comment_clear(&t_comment);
 
     /* Set up the output AVFrame */
-    avc_context->coded_frame= avcodec_alloc_frame();
+    avc_context->coded_frame = av_frame_alloc();
 
     return 0;
 }