[FFmpeg-cvslog] mpeg12: fix av_log level and context

Michael Niedermayer git at videolan.org
Fri Nov 23 01:24:33 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Nov 23 01:18:53 2012 +0100| [801a2a1df05d35c1c629e7b9dd7e9f584febcd67] | committer: Michael Niedermayer

mpeg12: fix av_log level and context

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=801a2a1df05d35c1c629e7b9dd7e9f584febcd67
---

 libavcodec/mpeg12.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index 234cac4..c40af2b 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -2137,9 +2137,9 @@ static void mpeg_decode_user_data(AVCodecContext *avctx,
             }
 
 /*        for(i=0; !(!p[i-2] && !p[i-1] && p[i]==1) && i<buf_size; i++){
-            av_log(0,0, "%c", p[i]);
+            av_log(avctx, AV_LOG_ERROR, "%c", p[i]);
         }
-            av_log(0,0, "\n");*/
+            av_log(avctx, AV_LOG_ERROR, "\n");*/
     }
 
     /* we parse the DTG active format information */



More information about the ffmpeg-cvslog mailing list