act: remove AVERROR_NOFMT useage.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 24 Sep 2011 18:05:13 +0000 (20:05 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 24 Sep 2011 19:11:01 +0000 (21:11 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/act.c

index a89fae7..4ed6b2e 100644 (file)
@@ -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;