diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-12 14:23:07 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-12 14:23:07 +0400 |
commit | 53fd4f559429cc17e6aa78eb90e099947294a86b (patch) | |
tree | 4d7d497a8131ef1c1bef149f33760bce85e860b7 /libavcodec/rv10.c | |
parent | 6ae43725323b02520fa0926422b52d2ce7fd7973 (diff) |
avcodec: fix motion vector vissualization
was broken by the buffer ref stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r-- | libavcodec/rv10.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index e2ccee7aec..da347854d3 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -741,11 +741,11 @@ static int rv10_decode_frame(AVCodecContext *avctx, if (s->pict_type == AV_PICTURE_TYPE_B || s->low_delay) { if ((ret = av_frame_ref(pict, &s->current_picture_ptr->f)) < 0) return ret; - ff_print_debug_info(s, s->current_picture_ptr); + ff_print_debug_info(s, s->current_picture_ptr, pict); } 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); + ff_print_debug_info(s, s->last_picture_ptr, pict); } if(s->last_picture_ptr || s->low_delay){ |