diff mpeg12.c @ 1706:3ba5c493db6f libavcodec

motion vector vissualization improvements patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
author michael
date Tue, 30 Dec 2003 02:12:12 +0000
parents f3287b5d8d9f
children dea5b2946999
line wrap: on
line diff
--- a/mpeg12.c	Mon Dec 29 22:25:08 2003 +0000
+++ b/mpeg12.c	Tue Dec 30 02:12:12 2003 +0000
@@ -2305,14 +2305,14 @@
 
         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);
             }
         }