aboutsummaryrefslogtreecommitdiffstats
path: root/ffbuild
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2020-08-25 21:31:57 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2020-08-30 16:18:37 +0200
commita0f20c3b3f197f1655a2e11c25c4f3332bc9c9a5 (patch)
treeae7d719234fdb97f32b5dbc82dae29aa494f3ea9 /ffbuild
parentff4cc8c65458eb4494a0a1a8ff136dcf85a0f4d0 (diff)
downloadffmpeg-a0f20c3b3f197f1655a2e11c25c4f3332bc9c9a5.tar.gz
avcodec/mpegvideo_enc: Replace some s->avctx by avctx
Fixes issue reported by: Xu Guangxin <guangxin.xu@intel.com> Original report: Steps to reproduce: 1. ./configure --enable-debug=3 --disable-libx264 && make install 2. ffmpeg -i input.mp4 -profile:v baseline output.mp4 -y you will see a crash like this: [mpeg4 @ 0x5555575854c0] [Eval @ 0x7fffffffbf80] Undefined constant or missing '(' in 'baseline' [mpeg4 @ 0x5555575854c0] Unable to parse option value "baseline" [mpeg4 @ 0x5555575854c0] Error setting option profile to value baseline. Thread 1 "ffmpeg" received signal SIGSEGV, Segmentation fault. root cause: If the codec has FF_CODEC_CAP_INIT_CLEANUP flag, and avcodec_open2 got an error before avctx->codec->init, the ff_mpv_encode_end will face a null s->avctx. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffbuild')
0 files changed, 0 insertions, 0 deletions