[Ffmpeg-cvslog] r8245 - trunk/libavformat/swf.c

bcoudurier subversion
Mon Mar 5 11:07:42 CET 2007


Author: bcoudurier
Date: Mon Mar  5 11:07:42 2007
New Revision: 8245

Modified:
   trunk/libavformat/swf.c

Log:
use AVFormatContext with av_log

Modified: trunk/libavformat/swf.c
==============================================================================
--- trunk/libavformat/swf.c	(original)
+++ trunk/libavformat/swf.c	Mon Mar  5 11:07:42 2007
@@ -267,7 +267,7 @@ static int swf_write_header(AVFormatCont
                 }
                 audio_enc = enc;
             } else {
-                av_log(enc, AV_LOG_ERROR, "SWF muxer only supports MP3\n");
+                av_log(s, AV_LOG_ERROR, "SWF muxer only supports MP3\n");
                 return -1;
             }
         } else {
@@ -276,7 +276,7 @@ static int swf_write_header(AVFormatCont
                  enc->codec_id == CODEC_ID_MJPEG ) {
                 video_enc = enc;
             } else {
-                av_log(enc, AV_LOG_ERROR, "SWF muxer only supports VP6, FLV1 and MJPEG\n");
+                av_log(s, AV_LOG_ERROR, "SWF muxer only supports VP6, FLV1 and MJPEG\n");
                 return -1;
             }
         }




More information about the ffmpeg-cvslog mailing list