Skip to content
Snippets Groups Projects
Commit bb4a310b authored by Martin Storsjö's avatar Martin Storsjö
Browse files

rtpdec: Don't free the payload context in the .free function


This makes it more consistent with depacketizers that don't have any
.free function at all, where the payload context is freed by the
surrounding framework. Always free the context in the surrounding
framework, having the individual depacketizers only free any data
they've specifically allocated themselves.

This is similar to how this works for demuxer/muxers/codecs - a
component shouldn't free the priv_data that the framework has
allocated for it.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent f4b59334
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment