diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-02-19 20:33:12 -0500 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-03-25 15:53:02 -0400 |
commit | eaeba6f241e0de0e797be10f8fda967ef8489e64 (patch) | |
tree | 8e3fa9ed2aa6bf1a739f9bb1e46dd98141f1d9e8 /libavcodec/vc1_block.c | |
parent | 577393321c389ad2973bec6168a8045c94a9e099 (diff) | |
download | ffmpeg-eaeba6f241e0de0e797be10f8fda967ef8489e64.tar.gz |
intrax8: Pass the output frame to the decoding function
Helps in decoupling this code from mpegvideo.
Diffstat (limited to 'libavcodec/vc1_block.c')
-rw-r--r-- | libavcodec/vc1_block.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/vc1_block.c b/libavcodec/vc1_block.c index 4dab0ef2a8..0a4531a51a 100644 --- a/libavcodec/vc1_block.c +++ b/libavcodec/vc1_block.c @@ -3022,8 +3022,9 @@ void ff_vc1_decode_blocks(VC1Context *v) v->s.esc3_level_length = 0; if (v->x8_type) { - ff_intrax8_decode_picture(&v->x8, 2 * v->pq + v->halfpq, - v->pq * !v->pquantizer, v->s.loop_filter); + ff_intrax8_decode_picture(&v->x8, &v->s.current_picture, + 2 * v->pq + v->halfpq, v->pq * !v->pquantizer, + v->s.loop_filter); ff_er_add_slice(&v->s.er, 0, 0, (v->s.mb_x >> 1) - 1, (v->s.mb_y >> 1) - 1, |