diff mbox series

[FFmpeg-devel,1/5] avutil/channel_layout: change AV_CHAN_SILENCE to AV_CHAN_UNUSED in the docs

Message ID 20240212211537.18468-1-cus@passwd.hu
State Accepted
Commit 2a12c04e35a49d09620ea063a0d078edfe508c34
Headers show
Series [FFmpeg-devel,1/5] avutil/channel_layout: change AV_CHAN_SILENCE to AV_CHAN_UNUSED in the docs | expand

Checks

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

Commit Message

Marton Balint Feb. 12, 2024, 9:15 p.m. UTC
It got renamed during the API design phase.

Signed-off-by: Marton Balint <cus@passwd.hu>
---
 libavutil/channel_layout.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

James Almer Feb. 12, 2024, 10:09 p.m. UTC | #1
On 2/12/2024 6:15 PM, Marton Balint wrote:
> It got renamed during the API design phase.
> 
> Signed-off-by: Marton Balint <cus@passwd.hu>
> ---
>   libavutil/channel_layout.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavutil/channel_layout.h b/libavutil/channel_layout.h
> index 7ee5333ea8..b8bff6f365 100644
> --- a/libavutil/channel_layout.h
> +++ b/libavutil/channel_layout.h
> @@ -119,7 +119,7 @@ enum AVChannelOrder {
>       /**
>        * The channel order does not correspond to any other predefined order and
>        * is stored as an explicit map. For example, this could be used to support
> -     * layouts with 64 or more channels, or with empty/skipped (AV_CHAN_SILENCE)
> +     * layouts with 64 or more channels, or with empty/skipped (AV_CHAN_UNUSED)
>        * channels at arbitrary positions.
>        */
>       AV_CHANNEL_ORDER_CUSTOM,

Good catch, LGTM. This should be backported too.
diff mbox series

Patch

diff --git a/libavutil/channel_layout.h b/libavutil/channel_layout.h
index 7ee5333ea8..b8bff6f365 100644
--- a/libavutil/channel_layout.h
+++ b/libavutil/channel_layout.h
@@ -119,7 +119,7 @@  enum AVChannelOrder {
     /**
      * The channel order does not correspond to any other predefined order and
      * is stored as an explicit map. For example, this could be used to support
-     * layouts with 64 or more channels, or with empty/skipped (AV_CHAN_SILENCE)
+     * layouts with 64 or more channels, or with empty/skipped (AV_CHAN_UNUSED)
      * channels at arbitrary positions.
      */
     AV_CHANNEL_ORDER_CUSTOM,