• James Almer's avatar
    Revert "decode: copy the output parameters from the last bsf in the chain back... · cacb62f9
    James Almer authored
    Revert "decode: copy the output parameters from the last bsf in the chain back to the AVCodecContext"
    
    This reverts commit 662558f9.
    
    The avcodec_parameters_to_context() call was freeing and reallocating
    AVCodecContext->extradata, essentially taking ownership of it, which according
    to the doxy is user owned. This is an API break and has produces crashes in
    some library users like Firefox.
    Revert until a better solution is found to internally propagate the filtered
    extradata back into the decoder context.
    Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
    cacb62f9
Name
Last commit
Last update
avbuild Loading commit data...
avtools Loading commit data...
compat Loading commit data...
doc Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...