Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-12 14:23:07 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-03-12 14:23:07 +0400
commit53fd4f559429cc17e6aa78eb90e099947294a86b (patch)
tree4d7d497a8131ef1c1bef149f33760bce85e860b7 /libavcodec/rv34.c
parent6ae43725323b02520fa0926422b52d2ce7fd7973 (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/rv34.c')
-rw-r--r--libavcodec/rv34.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c
index 629564a8ea..1ddac8e4af 100644
--- a/libavcodec/rv34.c
+++ b/libavcodec/rv34.c
@@ -1583,12 +1583,12 @@ static int finish_frame(AVCodecContext *avctx, AVFrame *pict)
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);
got_picture = 1;
} 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);
got_picture = 1;
}