[FFmpeg-devel] [PATCH 1/6] avcodec/adpcm_argo: fix incorrect documentation

Zane van Iperen zane at zanevaniperen.com
Sun Aug 2 13:20:42 EEST 2020


Flag bit was in the wrong place.

Signed-off-by: Zane van Iperen <zane at zanevaniperen.com>
---
 libavcodec/adpcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index 4de4a23289..b77f4b8ef6 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -1987,7 +1987,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx, void *data,
          *   uint4_t right_samples[nb_samples];
          *
          * Format of the control byte:
-         * MSB [SSSSDRRR] LSB
+         * MSB [SSSSRDRR] LSB
          *   S = (Shift Amount - 2)
          *   D = Decoder flag.
          *   R = Reserved
-- 
2.25.1




More information about the ffmpeg-devel mailing list