Hi,

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?



Thanks!

Regards


Andrew



At 2016-07-19 19:30:58, "Timo Rothenpieler" <t...@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@ffmpeg.org
>http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to