[FFmpeg-devel] [PATCH 1/2] avcodec/mpegvideo: Use intra_scantable in dct_unquantize_h263_intra_c()

Michael Niedermayer michael at niedermayer.cc
Wed Jun 21 00:25:06 EEST 2017


On Tue, Jun 20, 2017 at 06:52:09PM +0200, James Darnley wrote:
> On 2017-06-20 00:37, Michael Niedermayer wrote:
> > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> > ---
> >  libavcodec/mpegvideo.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
> > index 63a30b93ce..e29558b3a2 100644
> > --- a/libavcodec/mpegvideo.c
> > +++ b/libavcodec/mpegvideo.c
> > @@ -225,7 +225,7 @@ static void dct_unquantize_h263_intra_c(MpegEncContext *s,
> >      if(s->ac_pred)
> >          nCoeffs=63;
> >      else
> > -        nCoeffs= s->inter_scantable.raster_end[ s->block_last_index[n] ];
> > +        nCoeffs= s->intra_scantable.raster_end[ s->block_last_index[n] ];
> >  
> >      for(i=1; i<=nCoeffs; i++) {
> >          level = block[i];
> > 
> 
> This copies the change that you pushed for x86.  That change fixed the
> issue I had with wmv1.  This must correct that for other platforms.

will push this

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170620/82543efe/attachment.sig>


More information about the ffmpeg-devel mailing list