• Martin Storsjö's avatar
    rtpdec: Don't free the payload context in the .free function · bb4a310b
    Martin Storsjö authored
    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: 's avatarMartin Storsjö <martin@martin.st>
    bb4a310b
rtpdec_qt.c 8.88 KB