[FFmpeg-devel] why ffmpeg 3.1.1 still uses AVStream::codec

qw applemax82 at 163.com
Wed Jul 20 05:07:59 EEST 2016


If AVStream::codec is declared as deprecated, I think, there should be another way to open and close avcodec instead of using avcodec_open2() and avcodec_close(). Is that right?




At 2016-07-19 19:30:58, "Timo Rothenpieler" <timo at rothenpieler.org> wrote:
>> Hi,
>> I have read part of source code of ffmpeg 3.1.1. In the structure of 'struct AVStream', 'AVCodecContext *codec' is declared as deprecated. But in ffmpeg.c, 'AVCodecContext *codec' is still used in some functions. Why?
>Because nobody felt like changing that yet.
>ffmpeg-devel mailing list
>ffmpeg-devel at ffmpeg.org

More information about the ffmpeg-devel mailing list