[FFmpeg-cvslog] avformat/matroskaenc: Check alpha_mode
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Mon Aug 25 06:35:11 CEST 2014
On 24.08.2014, at 20:39, git at videolan.org (Michael Niedermayer) wrote:
> - if ((tag = av_dict_get(st->metadata, "alpha_mode", NULL, 0)) ||
> - (tag = av_dict_get( s->metadata, "alpha_mode", NULL, 0)) ||
> + if (((tag = av_dict_get(st->metadata, "alpha_mode", NULL, 0)) && atoi(tag->value)) ||
> + ((tag = av_dict_get( s->metadata, "alpha_mode", NULL, 0)) && atoi(tag->value)) ||
Not sure it matters, but wouldn't value == NULL have worked before but would crash now?
More information about the ffmpeg-cvslog
mailing list