Hi, I just triend libquvi, and get a segmentation fault in the libquvi_read_header function, because ff_copy_whitelists is called before qc->fmtctx is allocated by avformat_open_input. I added a call to avformat_alloc_context() before ff_copy_whitelists and the libquvi demuxer works.
However, I wonder how to fix this properly: the error handling labels look backward, so that I am not sure where to free the allocated context in case of error. Regards. -- Gilles. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel