aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
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
parent6080553e6e56a9bbdb9bda13420fd586a11a7d67 (diff)
downloadffmpeg-fb98b712611cfa45c61780cd8c0e4855630cb2a3.tar.gz
act: remove AVERROR_NOFMT useage.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-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;