mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 18:02:11 +00:00
Merge commit 'a2816230c5c0a8fc72bc0163b7d21a96b194d87a'
* commit 'a2816230c5c0a8fc72bc0163b7d21a96b194d87a': avframe: call release_buffer only if it is set Conflicts: libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
bb3823d457
@ -669,7 +669,8 @@ typedef struct CompatReleaseBufPriv {
|
||||
static void compat_free_buffer(void *opaque, uint8_t *data)
|
||||
{
|
||||
CompatReleaseBufPriv *priv = opaque;
|
||||
priv->avctx.release_buffer(&priv->avctx, &priv->frame);
|
||||
if (priv->avctx.release_buffer)
|
||||
priv->avctx.release_buffer(&priv->avctx, &priv->frame);
|
||||
av_freep(&priv);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user