Skip to content

Keep AVPacketWrapper data alive - #685

Open
for13to1 wants to merge 1 commit into
IENT:developfrom
for13to1:fix/ffmpeg-packet-data-ownership
Open

Keep AVPacketWrapper data alive#685
for13to1 wants to merge 1 commit into
IENT:developfrom
for13to1:fix/ffmpeg-packet-data-ownership

Conversation

@for13to1

Copy link
Copy Markdown
Contributor

Summary

  • make AVPacketWrapper::setData keep an owned copy of the packet bytes
  • point version-specific packet layouts at the wrapper-owned storage
  • accept packet input as const QByteArray &

Notes

This makes the wrapper independent of the caller's QByteArray lifetime after setData returns.

Testing

  • make -C build/unknown-Debug -j8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant