Commit 17fdffc9 authored by Clément Bœsch's avatar Clément Bœsch

Merge commit '8996515b'

* commit '8996515b':
  avpacket: fix setting AVPacket.data in av_packet_ref()

This commit is a noop, see ed3a0254Merged-by: 's avatarClément Bœsch <u@pkh.me>
parents d4b1b3b0 8996515b
......@@ -582,6 +582,7 @@ int av_packet_ref(AVPacket *dst, const AVPacket *src)
if (ret < 0)
goto fail;
memcpy(dst->buf->data, src->data, src->size);
dst->data = dst->buf->data;
} else {
dst->buf = av_buffer_ref(src->buf);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment