[FFmpeg-cvslog] avcodec/bsf/pcm_rechunk: reorder supported codec list

Marton Balint git at videolan.org
Thu Mar 14 02:42:35 EET 2024


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Sun Mar  3 21:05:31 2024 +0100| [66e6272917289ebbbc393dfd200ef9227938a603] | committer: Marton Balint

avcodec/bsf/pcm_rechunk: reorder supported codec list

Use lexical order.

Signed-off-by: Marton Balint <cus at passwd.hu>

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

 libavcodec/bsf/pcm_rechunk.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/libavcodec/bsf/pcm_rechunk.c b/libavcodec/bsf/pcm_rechunk.c
index 28b5722ac9..423c414d76 100644
--- a/libavcodec/bsf/pcm_rechunk.c
+++ b/libavcodec/bsf/pcm_rechunk.c
@@ -193,21 +193,21 @@ static const AVClass pcm_rechunk_class = {
 };
 
 static const enum AVCodecID codec_ids[] = {
-    AV_CODEC_ID_PCM_S16LE,
-    AV_CODEC_ID_PCM_S16BE,
-    AV_CODEC_ID_PCM_S8,
-    AV_CODEC_ID_PCM_S32LE,
-    AV_CODEC_ID_PCM_S32BE,
-    AV_CODEC_ID_PCM_S24LE,
-    AV_CODEC_ID_PCM_S24BE,
+    AV_CODEC_ID_PCM_F16LE,
+    AV_CODEC_ID_PCM_F24LE,
     AV_CODEC_ID_PCM_F32BE,
     AV_CODEC_ID_PCM_F32LE,
     AV_CODEC_ID_PCM_F64BE,
     AV_CODEC_ID_PCM_F64LE,
-    AV_CODEC_ID_PCM_S64LE,
+    AV_CODEC_ID_PCM_S16BE,
+    AV_CODEC_ID_PCM_S16LE,
+    AV_CODEC_ID_PCM_S24BE,
+    AV_CODEC_ID_PCM_S24LE,
+    AV_CODEC_ID_PCM_S32BE,
+    AV_CODEC_ID_PCM_S32LE,
     AV_CODEC_ID_PCM_S64BE,
-    AV_CODEC_ID_PCM_F16LE,
-    AV_CODEC_ID_PCM_F24LE,
+    AV_CODEC_ID_PCM_S64LE,
+    AV_CODEC_ID_PCM_S8,
     AV_CODEC_ID_NONE,
 };
 



More information about the ffmpeg-cvslog mailing list