mirror of https://github.com/FFmpeg/FFmpeg.git
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: Martin Storsjö <martin@martin.st>pull/113/head^2
parent
f4b59334bd
commit
bb4a310bb8
17 changed files with 4 additions and 21 deletions
Loading…
Reference in new issue