summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2008-08-29 03:52:10 +0000
committerPeter Ross <pross@xvid.org>2008-08-29 03:52:10 +0000
commit46a73068a600024ca9387fa00ed4ad5d4067d237 (patch)
tree526bac7e60216d4407439e872514da6ef944223d /libavcodec/avcodec.h
parentf0aaa16fdfdcfc54418c5f2fce5ea2e693309c8d (diff)
Change AVCodecContext.bits_per_sample to bits_per_coded_sample.
Nb: This change will become active on the next libavcodec major version bump. Originally committed as revision 15016 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 6691089e1f..b8eef3de25 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1430,7 +1430,11 @@ typedef struct AVCodecContext {
* - 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)