On 9/30/2021 12:43 AM, Andreas Rheinhardt wrote: >> + AVDOVIDecoderConfigurationRecord *dovi = >> (AVDOVIDecoderConfigurationRecord *) >> + >> av_stream_get_side_data(st, AV_PKT_DATA_DOVI_CONF, NULL); > > If you checked for the existence of this side data later (see below), > you would increase code locality and could avoid the dovi variable (and > the huge cast) altogether.
Changed in v2. - Derek _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".