Hello, I am having problems trying to use "avcodec_close" on AVCodecContext that has received packets to decode yet has not finished going though the whole stream. Using avcodec_flush_buffers does not seem to help either. How should I go about correctly closing and freeing up the AVCodecContext in such a situation?
Thanks
_______________________________________________ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user