aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/opusenc.c
diff options
context:
space:
mode:
authorArnaud Vrac <avrac@freebox.fr>2021-01-05 13:47:43 +0100
committerJames Almer <jamrial@gmail.com>2021-01-09 15:24:32 -0300
commit29993b2947a99806cf41dd58853af510b0ce152c (patch)
tree4c0cd553de553410f0c0c1844a61af497d424594 /libavcodec/opusenc.c
parenteacad3406e3e772558642d342e87892c3338eb4e (diff)
downloadffmpeg-29993b2947a99806cf41dd58853af510b0ce152c.tar.gz
sbc: do not set sample format in parser
Commit bdd31feec934 changed the SBC decoder to only set the output sample format on init, instead of setting it explicitly on each frame, which is correct. But the SBC parser overrides the sample format to S16, which triggers a crash when combining the parser and the decoder. Fix the issue by not setting the sample format anymore in the parser, which is wrong. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/opusenc.c')
0 files changed, 0 insertions, 0 deletions