[FFmpeg-cvslog] r18381 - in trunk/libavcodec: mpeg12.c mpegvideo.c

Michael Niedermayer michaelni
Thu Apr 9 02:09:08 CEST 2009


On Wed, Apr 08, 2009 at 03:09:02PM -0700, Baptiste Coudurier wrote:
[...]
> > 
> > Modified: trunk/libavcodec/mpegvideo.c
> > ==============================================================================
> > --- trunk/libavcodec/mpegvideo.c	Wed Apr  8 22:26:18 2009	(r18380)
> > +++ trunk/libavcodec/mpegvideo.c	Wed Apr  8 22:48:44 2009	(r18381)
> > @@ -444,6 +444,9 @@ av_cold int MPV_common_init(MpegEncConte
> >  {
> >      int y_size, c_size, yc_size, i, mb_array_size, mv_table_size, x, y, threads;
> >  
> > +    if(s->codec_id == CODEC_ID_MPEG2VIDEO && !s->progressive_sequence)
> > +        s->mb_height = (s->height + 31) / 32 * 2;
> > +    else
> >      s->mb_height = (s->height + 15) / 16;
> >  
> >      if(s->avctx->pix_fmt == PIX_FMT_NONE){
> 
> Would you mind if I reindent the code ?

feel free to fix as much wrong indention as you like, iam always happy
if i dont have to :)

(note i mean just really wrong, i dont mean nitpicking about
{ and spaces before and after and such)


> 
> Also this apply to last commit for mpegvideo.h about this issue.
> Is the fix still needed/wanted ?

the last fix is still wanted, yes

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

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20090409/3d5b3c83/attachment.pgp>



More information about the ffmpeg-cvslog mailing list