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

Timo Rothenpieler timo at rothenpieler.org
Tue Jul 19 14:30:58 EEST 2016

> 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.

More information about the ffmpeg-devel mailing list