diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-12 11:23:07 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-12 11:23:07 +0100 |
commit | 53fd4f559429cc17e6aa78eb90e099947294a86b (patch) | |
tree | 4d7d497a8131ef1c1bef149f33760bce85e860b7 /libavcodec/mpeg12.c | |
parent | 6ae43725323b02520fa0926422b52d2ce7fd7973 (diff) | |
download | ffmpeg-53fd4f559429cc17e6aa78eb90e099947294a86b.tar.gz |
avcodec: fix motion vector vissualization
was broken by the buffer ref stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index bf23e07a7a..634f971d8a 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -1989,7 +1989,7 @@ static int slice_end(AVCodecContext *avctx, AVFrame *pict) int ret = av_frame_ref(pict, &s->current_picture_ptr->f); if (ret < 0) return ret; - ff_print_debug_info(s, s->current_picture_ptr); + ff_print_debug_info(s, s->current_picture_ptr, pict); } else { if (avctx->active_thread_type & FF_THREAD_FRAME) s->picture_number++; @@ -1999,7 +1999,7 @@ static int slice_end(AVCodecContext *avctx, AVFrame *pict) int ret = av_frame_ref(pict, &s->last_picture_ptr->f); if (ret < 0) return ret; - ff_print_debug_info(s, s->last_picture_ptr); + ff_print_debug_info(s, s->last_picture_ptr, pict); } } |