[FFmpeg-cvslog] act: remove AVERROR_NOFMT useage.

Michael Niedermayer git at videolan.org
Sat Sep 24 21:17:04 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Sep 24 20:05:13 2011 +0200| [fb98b712611cfa45c61780cd8c0e4855630cb2a3] | committer: Michael Niedermayer

act: remove AVERROR_NOFMT useage.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fb98b712611cfa45c61780cd8c0e4855630cb2a3
---

 libavformat/act.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/act.c b/libavformat/act.c
index a89fae7..4ed6b2e 100644
--- a/libavformat/act.c
+++ b/libavformat/act.c
@@ -83,7 +83,7 @@ static int read_header(AVFormatContext *s,
     */
     if (st->codec->sample_rate != 8000) {
         av_log(s, AV_LOG_ERROR, "Sample rate %d is not supported.\n", st->codec->sample_rate);
-        return AVERROR_NOFMT;
+        return AVERROR_INVALIDDATA;
     }
 
     st->codec->frame_size=80;



More information about the ffmpeg-cvslog mailing list