You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-14 22:15:12 +02:00
lavc: AV-prefix all codec capabilities
Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
This commit is contained in:
@ -1885,7 +1885,7 @@ static int try_decode_frame(AVStream *st, AVPacket *avpkt,
|
||||
ret >= 0 &&
|
||||
(!has_codec_parameters(st) || !has_decode_delay_been_guessed(st) ||
|
||||
(!st->codec_info_nb_frames &&
|
||||
st->codec->codec->capabilities & CODEC_CAP_CHANNEL_CONF))) {
|
||||
(st->codec->codec->capabilities & AV_CODEC_CAP_CHANNEL_CONF)))) {
|
||||
got_picture = 0;
|
||||
switch (st->codec->codec_type) {
|
||||
case AVMEDIA_TYPE_VIDEO:
|
||||
@ -2254,7 +2254,7 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
|
||||
* it takes longer and uses more memory. For MPEG-4, we need to
|
||||
* decompress for QuickTime.
|
||||
*
|
||||
* If CODEC_CAP_CHANNEL_CONF is set this will force decoding of at
|
||||
* If AV_CODEC_CAP_CHANNEL_CONF is set this will force decoding of at
|
||||
* least one frame of codec data, this makes sure the codec initializes
|
||||
* the channel configuration and does not only trust the values from
|
||||
* the container. */
|
||||
|
Reference in New Issue
Block a user