You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
print error when unsupported sample rate is used with swf
Originally committed as revision 7101 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -450,6 +450,7 @@ static int swf_write_header(AVFormatContext *s)
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* not supported */
|
/* 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->audio_fifo);
|
||||||
av_free(swf);
|
av_free(swf);
|
||||||
return -1;
|
return -1;
|
||||||
|
Reference in New Issue
Block a user