aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-14 02:13:08 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-15 03:02:27 +0100
commita0813e7f00ff0ed5d10a3d3fa33a3a2dadba5459 (patch)
tree9393b1806510149fc5a696b84dcbd65d1e6fddc4 /libavcodec/h263dec.c
parentcaff888183ac3415b327af06403cb9d60cf770c6 (diff)
downloadffmpeg-a0813e7f00ff0ed5d10a3d3fa33a3a2dadba5459.tar.gz
h263dec: export qp_table
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 084ae45248..e752ce6f60 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -750,10 +750,12 @@ intrax8_decoded:
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){