[FFmpeg-devel] Palette support broken when using avcodec_copy_context
Jean-Daniel Dupas
devlists
Fri Jul 30 10:48:08 CEST 2010
Hello,
I have a problem with the palette support. Actually, the palctrl field in AVCodecContext is allocated and free by the demuxers (mov.c for example).
If you use avcodec_copy_context, this field is set to NULL and so, the decoder crash when it try to access it.
As this field is managed by the demuxer, it's not possible to copy it in avcodec_copy_context, else it will leaks (the demuxer will never free it).
Has someone any idea about how to fix that ?
-- Jean-Daniel
More information about the ffmpeg-devel
mailing list