]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/cljr.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavcodec / cljr.c
index ebe5c99d3bd198b7e96fc20eea9010158a1f7335..c9b09116745bdb41e75d8506c1ecd604db4fa789 100644 (file)
@@ -118,6 +118,7 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size,
 static av_cold void common_init(AVCodecContext *avctx){
     CLJRContext * const a = avctx->priv_data;
 
+    avcodec_get_frame_defaults(&a->picture);
     avctx->coded_frame= (AVFrame*)&a->picture;
     a->avctx= avctx;
 }