diff mbox series

[FFmpeg-devel] libavformat/adxdec: remove erroneous whitespace

Message ID 20240111215504.2123092-1-marth64@proxyid.net
State New
Headers show
Series [FFmpeg-devel] libavformat/adxdec: remove erroneous whitespace | 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

Marth64 Jan. 11, 2024, 9:55 p.m. UTC
25th anniversary of the Dreamcast this year. Will follow up with FATE test.

Signed-off-by: Marth64 <marth64@proxyid.net>
---
 libavformat/adxdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefano Sabatini Jan. 14, 2024, 1:51 p.m. UTC | #1
On date Thursday 2024-01-11 15:55:05 -0600, Marth64 wrote:
> 25th anniversary of the Dreamcast this year. Will follow up with FATE test.
> 
> Signed-off-by: Marth64 <marth64@proxyid.net>
> ---
>  libavformat/adxdec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavformat/adxdec.c b/libavformat/adxdec.c
> index b6bd3303a7..55eabceef0 100644
> --- a/libavformat/adxdec.c
> +++ b/libavformat/adxdec.c
> @@ -105,7 +105,7 @@ static int adx_read_header(AVFormatContext *s)
>          av_log(s, AV_LOG_ERROR, "Invalid extradata size.\n");
>          return AVERROR_INVALIDDATA;
>      }
> -    channels = AV_RB8 (par->extradata + 7);
> +    channels = AV_RB8(par->extradata + 7);
>      par->sample_rate = AV_RB32(par->extradata + 8);

Will apply, thanks.
diff mbox series

Patch

diff --git a/libavformat/adxdec.c b/libavformat/adxdec.c
index b6bd3303a7..55eabceef0 100644
--- a/libavformat/adxdec.c
+++ b/libavformat/adxdec.c
@@ -105,7 +105,7 @@  static int adx_read_header(AVFormatContext *s)
         av_log(s, AV_LOG_ERROR, "Invalid extradata size.\n");
         return AVERROR_INVALIDDATA;
     }
-    channels = AV_RB8 (par->extradata + 7);
+    channels = AV_RB8(par->extradata + 7);
     par->sample_rate = AV_RB32(par->extradata + 8);
 
     if (channels <= 0) {