[FFmpeg-cvslog] avcodec/amrwbdec: update .p.sample_fmts to planar variant

Paul B Mahol git at videolan.org
Mon Nov 28 10:07:29 EET 2022


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Nov 28 09:08:11 2022 +0100| [e8e9950f2abeec6735054a0cc0841684c100e052] | committer: Paul B Mahol

avcodec/amrwbdec: update .p.sample_fmts to planar variant

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e8e9950f2abeec6735054a0cc0841684c100e052
---

 libavcodec/amrwbdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/amrwbdec.c b/libavcodec/amrwbdec.c
index b59066adcf..9d75b972fa 100644
--- a/libavcodec/amrwbdec.c
+++ b/libavcodec/amrwbdec.c
@@ -1304,6 +1304,6 @@ const FFCodec ff_amrwb_decoder = {
     .init           = amrwb_decode_init,
     FF_CODEC_DECODE_CB(amrwb_decode_frame),
     .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF,
-    .p.sample_fmts  = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLT,
+    .p.sample_fmts  = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLTP,
                                                      AV_SAMPLE_FMT_NONE },
 };



More information about the ffmpeg-cvslog mailing list