diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-29 17:05:12 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-29 17:05:51 +0100 |
commit | fbafd64acce4a2a0aa6a5b392524a99f397e96a8 (patch) | |
tree | d75aec398f51fa4721cf5bcc9175a1e6e17676c5 /libavcodec/mpegvideo.c | |
parent | cfe282ec80dc03667418c601283134eec25f17cf (diff) | |
parent | 54b2ce7418c0e1467c9e67274e55e1bd86189e63 (diff) | |
download | ffmpeg-fbafd64acce4a2a0aa6a5b392524a99f397e96a8.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
mpeg: Drop unused parameters from ff_draw_horiz_band()
Conflicts:
libavcodec/mpegvideo.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 39f40cc0ee..ebaeedd08b 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -3022,10 +3022,9 @@ void ff_MPV_decode_mb(MpegEncContext *s, int16_t block[12][64]){ /** * @param h is the normal height, this will be reduced automatically if needed for the last row */ -void ff_draw_horiz_band(AVCodecContext *avctx, DSPContext *dsp, Picture *cur, +void ff_draw_horiz_band(AVCodecContext *avctx, Picture *cur, Picture *last, int y, int h, int picture_structure, - int first_field, int low_delay, - int v_edge_pos, int h_edge_pos) + int first_field, int low_delay) { const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(avctx->pix_fmt); int vshift = desc->log2_chroma_h; @@ -3074,10 +3073,9 @@ void ff_draw_horiz_band(AVCodecContext *avctx, DSPContext *dsp, Picture *cur, void ff_mpeg_draw_horiz_band(MpegEncContext *s, int y, int h) { - ff_draw_horiz_band(s->avctx, &s->dsp, s->current_picture_ptr, + ff_draw_horiz_band(s->avctx, s->current_picture_ptr, s->last_picture_ptr, y, h, s->picture_structure, - s->first_field, s->low_delay, - s->v_edge_pos, s->h_edge_pos); + s->first_field, s->low_delay); } void ff_init_block_index(MpegEncContext *s){ //FIXME maybe rename |