mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 18:11:11 +01:00
fixup! lavc/rkmppdec: refactor RKMPP decoders and extend codecs
fix decoder options printing buffer not being freed. Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
parent
f37c17d024
commit
374848d45c
1 changed files with 2 additions and 0 deletions
|
|
@ -857,6 +857,8 @@ static int rkmpp_get_frame(AVCodecContext *avctx, AVFrame *frame, int timeout)
|
|||
|
||||
if (av_opt_serialize(r, 0, 0, &opts, '=', ' ') >= 0)
|
||||
av_log(avctx, AV_LOG_VERBOSE, "Decoder options: %s\n", opts);
|
||||
if (opts)
|
||||
av_freep(&opts);
|
||||
|
||||
av_log(avctx, AV_LOG_VERBOSE, "Configured with size: %dx%d | pix_fmt: %s | sw_pix_fmt: %s\n",
|
||||
avctx->width, avctx->height,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue