From 43a868641633899551f824e37039bf8f9df8bc51 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Thu, 16 Nov 2006 11:19:03 +0000 Subject: print error when unsupported sample rate is used with swf Originally committed as revision 7101 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/swf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/swf.c') diff --git a/libavformat/swf.c b/libavformat/swf.c index bc3b2f9f6c..6029e36783 100644 --- a/libavformat/swf.c +++ b/libavformat/swf.c @@ -450,6 +450,7 @@ static int swf_write_header(AVFormatContext *s) break; default: /* not supported */ + av_log(s, AV_LOG_ERROR, "swf doesnt support that sample rate, choose from (44100, 22050, 11025)\n"); av_free(swf->audio_fifo); av_free(swf); return -1; -- cgit v1.2.3