On Sat, Aug 13, 2016 at 03:31:34PM -0300, James Almer wrote:
> On 6/9/2016 12:11 PM, Diego Biurrun wrote:
> > From: Alexandra Hájková <[email protected]>
> > 
> > ---
> >  libavcodec/eatgq.c | 34 +++++++++++++++++-----------------
> >  libavcodec/eatgv.c | 23 ++++++++++++-----------
> >  2 files changed, 29 insertions(+), 28 deletions(-)
> > 
> 
> [...]
> 
> > @@ -156,10 +156,10 @@ static void tgq_decode_mb(TgqContext *s, AVFrame 
> > *frame, int mb_y, int mb_x)
> >  
> >      mode = bytestream2_get_byte(&s->gb);
> >      if (mode > 12) {
> > -        GetBitContext gb;
> > -        init_get_bits(&gb, s->gb.buffer, FFMIN(s->gb.buffer_end - 
> > s->gb.buffer, mode) * 8);
> > +        BitstreamContext bc;
> > +        bitstream_init(&bc, s->gb.buffer, FFMIN(s->gb.buffer_end - 
> > s->gb.buffer, mode) * 8);
> 
> bitstream_init8(). There are other similar cases in the patchset,
> like adtsenc.

I already sent a separate patch that changes all *8 instances to init8.

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

Reply via email to