Dana 11. 7. 2015. 04:50 osoba "Ronald S. Bultje" <[email protected]> napisala je: > > --- > libavfilter/vf_psnr.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/libavfilter/vf_psnr.c b/libavfilter/vf_psnr.c > index 0c2c950..d9a6030 100644 > --- a/libavfilter/vf_psnr.c > +++ b/libavfilter/vf_psnr.c > @@ -289,9 +289,9 @@ static int config_input_ref(AVFilterLink *inlink) > } > > s->is_rgb = ff_fill_rgba_map(s->rgba_map, inlink->format) >= 0; > - s->comps[0] = s->is_rgb ? 'r' : 'y' ; > - s->comps[1] = s->is_rgb ? 'g' : 'u' ; > - s->comps[2] = s->is_rgb ? 'b' : 'v' ; > + s->comps[0] = s->is_rgb ? 'g' : 'y' ; > + s->comps[1] = s->is_rgb ? 'b' : 'u' ; > + s->comps[2] = s->is_rgb ? 'r' : 'v' ; > s->comps[3] = 'a'; > > s->planeheight[1] = s->planeheight[2] = FF_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); > -- > 2.1.2 >
See rgba_map above, this breaks code that use it. > _______________________________________________ > ffmpeg-devel mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel _______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
