ffmpeg | branch: master | Paul B Mahol <[email protected]> | Thu Dec 21 12:25:48 
2023 +0100| [7a9aafde3d957c30d55898da8d6c639991f99f88] | committer: James Almer

avformat/iamf_parse: fix another logical coding error

Signed-off-by: James Almer <[email protected]>

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

 libavformat/iamf_parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/iamf_parse.c b/libavformat/iamf_parse.c
index feb670180e..377831388f 100644
--- a/libavformat/iamf_parse.c
+++ b/libavformat/iamf_parse.c
@@ -136,7 +136,7 @@ static int flac_decoder_config(IAMFCodecConfig 
*codec_config,
 static int ipcm_decoder_config(IAMFCodecConfig *codec_config,
                                AVIOContext *pb, int len)
 {
-    static const enum AVSampleFormat sample_fmt[2][3] = {
+    static const enum AVCodecID sample_fmt[2][3] = {
         { AV_CODEC_ID_PCM_S16BE, AV_CODEC_ID_PCM_S24BE, AV_CODEC_ID_PCM_S32BE 
},
         { AV_CODEC_ID_PCM_S16LE, AV_CODEC_ID_PCM_S24LE, AV_CODEC_ID_PCM_S32LE 
},
     };

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to