mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-13 19:05:37 +00:00
Merge commit '8996515b13'
* commit '8996515b13': avpacket: fix setting AVPacket.data in av_packet_ref() This commit is a noop, seeed3a02547cMerged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
commit
17fdffc9f8
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue