changeset 1865:eef72288a33e libavformat

use AVFormatContext with av_log
author bcoudurier
date Mon, 05 Mar 2007 10:07:42 +0000
parents 481b69e29b89
children 8d7a19c937dc
files swf.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/swf.c	Mon Mar 05 10:04:34 2007 +0000
+++ b/swf.c	Mon Mar 05 10:07:42 2007 +0000
@@ -267,7 +267,7 @@
                 }
                 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 @@
                  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;
             }
         }