On Tue, Feb 28, 2017 at 11:40 PM, Rostislav Pehlivanov <atomnu...@gmail.com> wrote: >> +static int rfc4175_parse_format(AVStream *stream, PayloadContext *data) >> +{ >> + enum AVPixelFormat pixfmt = AV_PIX_FMT_NONE; >> + int bits_per_sample = 0; >> + int tag = 0; >> + >> + if (!strcmp(data->sampling, "YCbCr-4:2:2")) { >> > > Use strncmp()
strncmp is pointless when you compare to a string literal. strcmp is just fine. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel