diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-15 03:19:54 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-15 03:19:54 +0100 |
commit | 46728338b0c3a592ebf9ae6fe5d22dcd764b10a5 (patch) | |
tree | a154ff7dad808c5936cd9364e64ff9c89b22c75f /libavcodec/rv34.c | |
parent | feac79ce53e635f063efabadb8a32191f87c13d6 (diff) | |
download | ffmpeg-46728338b0c3a592ebf9ae6fe5d22dcd764b10a5.tar.gz |
rv34: export qp table
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/rv34.c')
-rw-r--r-- | libavcodec/rv34.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c index 1ddac8e4af..baca996f1f 100644 --- a/libavcodec/rv34.c +++ b/libavcodec/rv34.c @@ -1584,11 +1584,13 @@ static int finish_frame(AVCodecContext *avctx, AVFrame *pict) 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); got_picture = 1; } 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); got_picture = 1; } |