[FFmpeg-devel] [PATCH] avformat/isom: utilize bitrate hints
Carl Eugen Hoyos
cehoyos at ag.or.at
Sun Jul 12 17:22:31 CEST 2015
Ganesh Ajjanagadde <gajjanagadde <at> gmail.com> writes:
> - avio_rb32(pb); /* max bitrate */
> - avio_rb32(pb); /* avg bitrate */
> + st->codec->rc_max_rate = avio_rb32(pb); /* max bitrate */
> + st->codec->bit_rate = avio_rb32(pb); /* avg bitrate */
The documentation states (currently!) that
these fields must not be set outside of
libavcodec for decoding.
Carl Eugen
More information about the ffmpeg-devel
mailing list