From fb98b712611cfa45c61780cd8c0e4855630cb2a3 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 24 Sep 2011 20:05:13 +0200 Subject: [PATCH] act: remove AVERROR_NOFMT useage. Signed-off-by: Michael Niedermayer --- libavformat/act.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/act.c b/libavformat/act.c index a89fae75be..4ed6b2e5c2 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;