Commit f1e7a5e7 authored by bcoudurier's avatar bcoudurier

print error when unsupported sample rate is used with swf

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7101 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 43dd119b
...@@ -450,6 +450,7 @@ static int swf_write_header(AVFormatContext *s) ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment