aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3dsp.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-15 15:48:34 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-29 02:28:20 +0200
commit023bc5d92678997c5247eaf1882251a0e17b88da (patch)
tree96ff922b8731fc90ee934eaaaf24cabca7b9da46 /libavcodec/ac3dsp.c
parent7e9b9f24df6c98df5bf4c8ce41154b67f485e45f (diff)
downloadffmpeg-023bc5d92678997c5247eaf1882251a0e17b88da.tar.gz
avcodec/nellymoserenc: Fix segfault when using unsupported channels/rate
NellyMoserEncodeContext.avctx is only set in init after these checks, yet it is used by encode_end(). This is a regression since 0a56bfa71f751a2b25da8d060a019c1c75ca9d7b. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> (cherry picked from commit 652279e35becae7b4c0b6b73e4f6c074e8a8b77c)
Diffstat (limited to 'libavcodec/ac3dsp.c')
0 files changed, 0 insertions, 0 deletions