Flag bit was in the wrong place.
Unified · Split
| @@ -1987,7 +1987,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx, void *data, · 1986 unmodified lines | ||
| 1987 | 1987 | * uint4_t right_samples[nb_samples]; |
| 1988 | 1988 | * |
| 1989 | 1989 | * Format of the control byte: |
| 1990 | − * MSB [SSSSDRRR] LSB | |
| 1990 | + * MSB [SSSSRDRR] LSB | |
| 1991 | 1991 | * S = (Shift Amount - 2) |
| 1992 | 1992 | * D = Decoder flag. |
| 1993 | 1993 | * R = Reserved |