diff mbox series

[FFmpeg-devel,v2,1/9] avcodec/bsf/pcm_rechunk: reorder supported codec list

Message ID 20240308005333.12416-1-cus@passwd.hu
State Accepted
Commit 66e6272917289ebbbc393dfd200ef9227938a603
Headers show
Series [FFmpeg-devel,v2,1/9] avcodec/bsf/pcm_rechunk: reorder supported codec list | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Marton Balint March 8, 2024, 12:53 a.m. UTC
Use lexical order.

Signed-off-by: Marton Balint <cus@passwd.hu>
---
 libavcodec/bsf/pcm_rechunk.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

Comments

Stefano Sabatini March 9, 2024, 4:20 p.m. UTC | #1
On date Friday 2024-03-08 01:53:25 +0100, Marton Balint wrote:
> Use lexical order.
> 
> Signed-off-by: Marton Balint <cus@passwd.hu>
> ---
>  libavcodec/bsf/pcm_rechunk.c | 20 ++++++++++----------
>  1 file changed, 10 insertions(+), 10 deletions(-)

LGTM, thanks.
diff mbox series

Patch

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,
 };