use AVFormatContext with av_log

Originally committed as revision 8245 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2007-03-05 10:07:42 +00:00
parent 066a81a80f
commit 5095aaa91c
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}