]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/eamad.c
fraps: check overread per sample instead of per line
[ffmpeg] / libavcodec / eamad.c
index b0c42f0222a425c13c367324e683f3278b7d6461..ebad3b336cc4e4c290d1d4dc54eadb16d183c878 100644 (file)
@@ -277,7 +277,7 @@ static int decode_frame(AVCodecContext *avctx,
             avctx->release_buffer(avctx, &t->last_frame);
     }
 
-    t->frame.reference = 1;
+    t->frame.reference = 3;
     if (!t->frame.data[0]) {
         if (avctx->get_buffer(avctx, &t->frame) < 0) {
             av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");