aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/swf.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-05 10:07:42 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-05 10:07:42 +0000
commit5095aaa91ca9a236f9f0a4f7aa57ce6c4a226cbf (patch)
treed72aca8a59c07e18c49933937de69205254c9d08 /libavformat/swf.c
parent066a81a80f44bd13c7c24adfbd734d57b339730b (diff)
downloadffmpeg-5095aaa91ca9a236f9f0a4f7aa57ce6c4a226cbf.tar.gz
use AVFormatContext with av_log
Originally committed as revision 8245 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/swf.c')
-rw-r--r--libavformat/swf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/swf.c b/libavformat/swf.c
index 4f4fdb1939..e2b8594fbc 100644
--- a/libavformat/swf.c
+++ b/libavformat/swf.c
@@ -267,7 +267,7 @@ static int swf_write_header(AVFormatContext *s)
}
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(AVFormatContext *s)
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;
}
}