On Sun, Sep 6, 2015 at 11:53 PM, Luca Barbato <[email protected]> wrote:
> On 02/09/15 18:59, Vittorio Giovara wrote:
>
> The set survived oracle?

yep

> Did you try
>
> for (i = 0; i < AV_PIX_FMT_NB; i++) {
>     p = av_pix_fmt_descriptors + i;
>     assert(p->step == p->step_minus1 + 1);
>     assert(p->offset == p->offset_plus1 - 1);
>     assert(p->depth == p->depth_minus1 + 1);

i see what you did there

> }
>
> or something like that to make sure it is typo free?

quick and dirty test is here
https://www.dropbox.com/s/ab2k3lugfd2f51z/test.c?dl=0
-- 
Vittorio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to