diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2022-10-21 18:25:08 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2022-11-21 23:52:18 +0800 |
commit | d4b06c99abf3e147f7b1ce7160d31d2dcc525eda (patch) | |
tree | 1a45f818da90bc1e3adce7f8d8937e0961a5bd15 /tests/ref/vsynth/vsynth2-vc2-420p12 | |
parent | 2b97fdb8cc9112babc5cb939f62620efab7bba5c (diff) | |
download | ffmpeg-d4b06c99abf3e147f7b1ce7160d31d2dcc525eda.tar.gz |
avcodec/mediacodecdec_common: fix useless av_buffer_unref
Since frame->buf[0] is always NULL in this case, av_buffer_unref
has no effect. If it's not NULL, double-free will happen.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'tests/ref/vsynth/vsynth2-vc2-420p12')
0 files changed, 0 insertions, 0 deletions