[vlc-devel] commit: Cosmetics. (Laurent Aimar )
    git version control 
    git at videolan.org
       
    Fri Jun 19 01:09:25 CEST 2009
    
    
  
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Jun 19 00:44:41 2009 +0200| [501519933573313b7c8cb6c68750369d880e047b] | committer: Laurent Aimar 
Cosmetics.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=501519933573313b7c8cb6c68750369d880e047b
---
 modules/codec/avcodec/video.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index eb93e1f..d2cd8c9 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -845,7 +845,7 @@ static int ffmpeg_OpenCodec( decoder_t *p_dec )
     }
     p_sys->p_context->width  = p_dec->fmt_in.video.i_width;
     p_sys->p_context->height = p_dec->fmt_in.video.i_height;
-#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(52, 0, 0)
     p_sys->p_context->bits_per_sample = p_dec->fmt_in.video.i_bits_per_pixel;
 #else
     p_sys->p_context->bits_per_coded_sample = p_dec->fmt_in.video.i_bits_per_pixel;
    
    
More information about the vlc-devel
mailing list