summaryrefslogtreecommitdiff
path: root/libavcodec/qpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/qpeg.c')
-rw-r--r--libavcodec/qpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/qpeg.c b/libavcodec/qpeg.c
index b4f5433c9b..193e8c6a42 100644
--- a/libavcodec/qpeg.c
+++ b/libavcodec/qpeg.c
@@ -324,6 +324,8 @@ static av_cold int decode_init(AVCodecContext *avctx){
decode_flush(avctx);
+ avcodec_get_frame_defaults(&a->pic);
+
return 0;
}