aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-15 03:16:23 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-15 03:16:23 +0100
commitfeac79ce53e635f063efabadb8a32191f87c13d6 (patch)
treec29e408ac65ec7f74d30dcce173eb2615abf0ff1
parent0bcea7b5754e6b6777869105553efbf55fa8fc47 (diff)
downloadffmpeg-feac79ce53e635f063efabadb8a32191f87c13d6.tar.gz
rv10: export qp table
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/rv10.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index 3f6d52e150..8879191e46 100644
--- a/libavcodec/rv10.c
+++ b/libavcodec/rv10.c
@@ -742,10 +742,12 @@ static int rv10_decode_frame(AVCodecContext *avctx,
if ((ret = av_frame_ref(pict, &s->current_picture_ptr->f)) < 0)
return ret;
ff_print_debug_info(s, s->current_picture_ptr, pict);
+ av_frame_set_qp_table(pict, av_buffer_ref(s->current_picture_ptr->qscale_table_buf), s->mb_stride, FF_QSCALE_TYPE_MPEG1);
} else if (s->last_picture_ptr != NULL) {
if ((ret = av_frame_ref(pict, &s->last_picture_ptr->f)) < 0)
return ret;
ff_print_debug_info(s, s->last_picture_ptr, pict);
+ av_frame_set_qp_table(pict, av_buffer_ref(s->last_picture_ptr->qscale_table_buf), s->mb_stride, FF_QSCALE_TYPE_MPEG1);
}
if(s->last_picture_ptr || s->low_delay){