diff options
author | Wolfgang Hesseler <qv@multimediaware.com> | 2003-12-30 02:12:12 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-12-30 02:12:12 +0000 |
commit | 0c9bbaec6021ff2ab6017e8b99354a26c2394b47 (patch) | |
tree | 15d2921727398fc827965d1f90214c3f3f100590 /libavcodec/mpeg12.c | |
parent | 890972be037a2deab8a39680087bf0c9ad533e90 (diff) | |
download | ffmpeg-0c9bbaec6021ff2ab6017e8b99354a26c2394b47.tar.gz |
motion vector vissualization improvements patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 2636 to svn://svn.ffmpeg.org/ffmpeg/trunk
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 8a240da276..4cc164de31 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -2305,14 +2305,14 @@ static int slice_end(AVCodecContext *avctx, AVFrame *pict) if (s->pict_type == B_TYPE || s->low_delay) { *pict= *(AVFrame*)s->current_picture_ptr; - ff_print_debug_info(s, s->current_picture_ptr); + ff_print_debug_info(s, pict); } else { s->picture_number++; /* latency of 1 frame for I and P frames */ /* XXX: use another variable than picture_number */ if (s->last_picture_ptr != NULL) { *pict= *(AVFrame*)s->last_picture_ptr; - ff_print_debug_info(s, s->last_picture_ptr); + ff_print_debug_info(s, pict); } } |