Commit fb98b712 authored by Michael Niedermayer's avatar Michael Niedermayer

act: remove AVERROR_NOFMT useage.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6080553e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment