summaryrefslogtreecommitdiffstats
path: root/libavcodec/dvdec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-08-22 14:37:39 +0200
committerDiego Biurrun <diego@biurrun.de>2014-09-05 13:55:03 +0200
commitb574e1e97ea7067a5fcd3876e30a67df0e4e6611 (patch)
treee57486f90e339c13f66fc84331eddb5773f8b804 /libavcodec/dvdec.c
parentb21e989a3c076d94cfdde0303724db841dd60cad (diff)
downloadffmpeg-streaming-b574e1e97ea7067a5fcd3876e30a67df0e4e6611.zip
ffmpeg-streaming-b574e1e97ea7067a5fcd3876e30a67df0e4e6611.tar.gz
get_bits: Add OPEN_READER macro variant w/o size_plus8
This avoids a trillion warnings from MSVC.
Diffstat (limited to 'libavcodec/dvdec.c')
-rw-r--r--libavcodec/dvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dvdec.c b/libavcodec/dvdec.c
index 476f8c9..876a4a2 100644
--- a/libavcodec/dvdec.c
+++ b/libavcodec/dvdec.c
@@ -88,7 +88,7 @@ static void dv_decode_ac(GetBitContext *gb, BlockInfo *mb, int16_t *block)
int partial_bit_count = mb->partial_bit_count;
int level, run, vlc_len, index;
- OPEN_READER(re, gb);
+ OPEN_READER_NOSIZE(re, gb);
UPDATE_CACHE(re, gb);
/* if we must parse a partial VLC, we do it here */
OpenPOWER on IntegriCloud