diff swf.c @ 1519:f57c7614ff98 libavformat

print error when unsupported sample rate is used with swf
author bcoudurier
date Thu, 16 Nov 2006 11:19:03 +0000
parents 84aa565e7da8
children b95cdbfc2d16
line wrap: on
line diff
--- a/swf.c	Thu Nov 16 11:03:40 2006 +0000
+++ b/swf.c	Thu Nov 16 11:19:03 2006 +0000
@@ -450,6 +450,7 @@
             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;