On Mon, Dec 12, 2011 at 01:20:25PM -0800, Mashiat Sarker Shakkhar wrote:
> > ---
> > libavcodec/vc1dec.c |    5 ++++-
> > 1 files changed, 4 insertions(+), 1 deletions(-)
> > 
> > --- a/libavcodec/vc1dec.c
> > +++ b/libavcodec/vc1dec.c
> > @@ -5522,8 +5522,11 @@ static int vc1_decode_frame(AVCodecContext *avctx, 
> > void 
> > *data,
> >              }
> >          } else if (v->interlace && ((buf[0] & 0xC0) == 0xC0)) { 
> > /* WVC1 interlaced stores both fields divided by marker */
> >              const uint8_t *divider;
> > -
> > +            n_slices1 = n_slices;
> > +            slices = av_realloc(slices, sizeof(*slices) * (n_slices+1));
> > +            slices[n_slices].mby_start = s->mb_height >> 1;
> >              divider = find_next_marker(buf, buf + buf_size);
> > +
> >              if ((divider == (buf + buf_size)) || AV_RB32(divider) != 
> > VC1_CODE_FIELD) {
> >                  av_log(avctx, AV_LOG_ERROR, "Error in WVC1 interlaced 
> > frame\n");
> >                  goto err;
> 
> This patch is not necessary anymore.

Please don't forget to remove it from patchwork then - do you have an
account?

Diego

P.S.: Please trim your quotes, thank you.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to