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/wmv2dec.c | |
parent | 577393321c389ad2973bec6168a8045c94a9e099 (diff) |
intrax8: Pass the output frame to the decoding function
Helps in decoupling this code from mpegvideo.
Diffstat (limited to 'libavcodec/wmv2dec.c')
-rw-r--r-- | libavcodec/wmv2dec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/wmv2dec.c b/libavcodec/wmv2dec.c index 738d33ddf9..9cd7017261 100644 --- a/libavcodec/wmv2dec.c +++ b/libavcodec/wmv2dec.c @@ -228,7 +228,8 @@ int ff_wmv2_decode_secondary_picture_header(MpegEncContext *s) s->picture_number++; // FIXME ? if (w->j_type) { - ff_intrax8_decode_picture(&w->x8, 2 * s->qscale, (s->qscale - 1) | 1, + ff_intrax8_decode_picture(&w->x8, &s->current_picture, + 2 * s->qscale, (s->qscale - 1) | 1, s->loop_filter); ff_er_add_slice(&w->s.er, 0, 0, |