On Mon, 27 May 2013 14:04:20 -0400, Derek Buitenhuis 
<[email protected]> wrote:
> On 2013-05-27 1:20 PM, Anton Khirnov wrote:
> > +        if (multiblock) {
> > +            if (chan)
> > +                avctx->channels = chan;
> > +            if (chmask)
> > +                avctx->channel_layout = chmask;
> > +        }
> 
> I'm assuming it handles 0 values after this OK?
> 

If channel information is not present in a block, it should keep the previous
value. So I think it still works fine. More testing is welcome of course.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to