mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 02:12:28 +00:00
rv10: export qp table
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0bcea7b575
commit
feac79ce53
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user