mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-12-24 11:52:06 +08:00
Add check for the return value of avcodec_alloc_context3() to avoid potential NULL pointer dereference. Fixes:5d48e4eafa("Merge commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196'") Signed-off-by: Jiasheng Jiang <jiashengjiangcool@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit55d234b433) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>