mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
opus_silk: reset midonly flag after skipping LBRR
Fix suggested by Mark Harris. Fixes ticket #9890 Simplified after feedback from Anton Khirnov. Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
07d930014d
commit
e301143f96
@ -833,6 +833,8 @@ int ff_silk_decode_superframe(SilkContext *s, OpusRangeCoder *rc,
|
||||
int active1 = (j == 0 && !(redundancy[1] & (1 << i))) ? 0 : 1;
|
||||
silk_decode_frame(s, rc, i, j, coded_channels, 1, active1, 1);
|
||||
}
|
||||
|
||||
s->midonly = 0;
|
||||
}
|
||||
|
||||
for (i = 0; i < nb_frames; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user