diff avcodec.h @ 7720:b1cacb2f48a0 libavcodec

Change AVCodecContext.bits_per_sample to bits_per_coded_sample. Nb: This change will become active on the next libavcodec major version bump.
author pross
date Fri, 29 Aug 2008 03:52:10 +0000
parents ac583bd8f8b3
children 198421b7dbc0
line wrap: on
line diff
--- a/avcodec.h	Fri Aug 29 00:09:47 2008 +0000
+++ b/avcodec.h	Fri Aug 29 03:52:10 2008 +0000
@@ -1430,7 +1430,11 @@
      * - encoding: Set by libavcodec.
      * - decoding: Set by user.
      */
+#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
      int bits_per_sample;
+#else
+     int bits_per_coded_sample;
+#endif
 
     /**
      * prediction method (needed for huffyuv)