summaryrefslogtreecommitdiff
path: root/libavformat/act.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-09-24 20:05:13 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-24 21:11:01 +0200
commitfb98b712611cfa45c61780cd8c0e4855630cb2a3 (patch)
tree21f4b3d6c3eeb8d01d119af7d13e3062104be348 /libavformat/act.c
parent6080553e6e56a9bbdb9bda13420fd586a11a7d67 (diff)
act: remove AVERROR_NOFMT useage.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/act.c')
-rw-r--r--libavformat/act.c2
1 files changed, 1 insertions, 1 deletions
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;