[FFmpeg-devel] [PATCH 1/9] lavfi: support unknown channel layouts.

Nicolas George nicolas.george at normalesup.org
Thu Dec 27 00:46:12 CET 2012


Le septidi 7 nivôse, an CCXXI, Michael Niedermayer a écrit :
> > +    int64_t fake_layout = layout ? layout : (int64_t)1 << av_frame_get_channels(frame);
> 
> this looks odd
> 2 channles == layout 4

You are right, of course: there should be a -1 of course. I will fix that
and try to ensure to test this code path.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121227/205fa9c0/attachment.asc>


More information about the ffmpeg-devel mailing list