diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-15 15:48:34 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-29 02:28:20 +0200 |
commit | 023bc5d92678997c5247eaf1882251a0e17b88da (patch) | |
tree | 96ff922b8731fc90ee934eaaaf24cabca7b9da46 /libswscale/x86/yuv2rgb.c | |
parent | 7e9b9f24df6c98df5bf4c8ce41154b67f485e45f (diff) | |
download | ffmpeg-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 'libswscale/x86/yuv2rgb.c')
0 files changed, 0 insertions, 0 deletions