mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
amrnbdec: we dont want dtx samples anymore and give the user a hint towards how to play such files.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e78f968112
commit
dbe5f0172b
@ -936,7 +936,8 @@ static int amrnb_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
|
|||||||
|
|
||||||
p->cur_frame_mode = unpack_bitstream(p, buf, buf_size);
|
p->cur_frame_mode = unpack_bitstream(p, buf, buf_size);
|
||||||
if (p->cur_frame_mode == MODE_DTX) {
|
if (p->cur_frame_mode == MODE_DTX) {
|
||||||
av_log_missing_feature(avctx, "dtx mode", 1);
|
av_log_missing_feature(avctx, "dtx mode", 0);
|
||||||
|
av_log(avctx, AV_LOG_INFO, "Note: libopencore_amrnb supports dtx\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user