]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/roqvideodec.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavcodec / roqvideodec.c
index f0c3ebb8d9b307c3775bc31738c4611e12f21791..161e7da08a48a2aa873792ff6091958a853b996a 100644 (file)
@@ -189,6 +189,7 @@ static int roq_decode_frame(AVCodecContext *avctx,
     RoqContext *s = avctx->priv_data;
     int copy= !s->current_frame->data[0];
 
+    s->current_frame->reference = 3;
     if (avctx->reget_buffer(avctx, s->current_frame)) {
         av_log(avctx, AV_LOG_ERROR, "  RoQ: get_buffer() failed\n");
         return -1;