mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-04 05:43:16 +00:00
act: remove AVERROR_NOFMT useage.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6080553e6e
commit
fb98b71261
@ -83,7 +83,7 @@ static int read_header(AVFormatContext *s,
|
|||||||
*/
|
*/
|
||||||
if (st->codec->sample_rate != 8000) {
|
if (st->codec->sample_rate != 8000) {
|
||||||
av_log(s, AV_LOG_ERROR, "Sample rate %d is not supported.\n", st->codec->sample_rate);
|
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;
|
st->codec->frame_size=80;
|
||||||
|
Loading…
Reference in New Issue
Block a user