On Mon, Oct 6, 2014 at 3:14 PM, Luca Barbato <lu_z...@gentoo.org> wrote: > On 06/10/14 15:59, Vittorio Giovara wrote: >> >> --- >> Simplified return check. >> Vittorio >> >> libavformat/mov.c | 66 >> +++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> 1 file changed, 66 insertions(+) > > > Fine for me, might be nice to print the unexpected values though.
Ok, I've added + if (strncmp(color_parameter_type, "nclx", 4) && + strncmp(color_parameter_type, "nclc", 4)) { + av_log(c->fc, AV_LOG_WARNING, "unsupported color_parameter_type %s\n", + color_parameter_type); + return 0; + } locally, thanks. -- Vittorio _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel