]> git.alsa-project.org Git - tinycompress.git/commitdiff
sound: fix the snd_dec_alac structure
authorVinod Koul <vkoul@kernel.org>
Mon, 18 May 2020 15:08:56 +0000 (20:38 +0530)
committerJaroslav Kysela <perex@perex.cz>
Fri, 5 Jun 2020 16:05:58 +0000 (18:05 +0200)
Update of header to latest version bought wrong update for struct
snd_dec_alac so fix it to correct version

Fixes: b1a8b075f134 ("sound: update header to v0.2.0")
Signed-off-by: Vinod Koul <vkoul@kernel.org>
include/sound/compress_params.h

index 7a399dc50bcc9c76925f2e1b43e82d3760156887..6844b97fa52ae56b6d74fb810de8db18fbaaa7a3 100644 (file)
@@ -225,9 +225,9 @@ struct snd_dec_wma {
 
 struct snd_dec_alac {
  __u32 frame_length;
- __u16 compatible_version;
- __u16 max_run;
- __u32 max_frame_bytes;
+ __u8 compatible_version;
+ __u8 pb;
+ __u8 mb;
  __u8 kb;
  __u32 max_run;
  __u32 max_frame_bytes;