Hi,
On Tue, Oct 22, 2013 at 7:19 AM, Derek Buitenhuis <
[email protected]> wrote:
> On 10/22/2013 12:09 PM, Luca Barbato wrote:
> >> - init_get_bits(&gb, s->avctx->extradata,
> s->avctx->extradata_size*8);
> >> - ret = ff_mpeg4_decode_picture_header(s, &gb);
> >> + if (init_get_bits8(&gb, s->avctx->extradata,
> s->avctx->extradata_size) >= 0 )
> >> + ret = ff_mpeg4_decode_picture_header(s, &gb);
> >
> > This looks wrong.
>
> Care to elaborate?
if ((ret = init_get_bits8(...)) >= 0)
ret = ff_mpeg4_decode_...(..);
Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel