summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs')
-rw-r--r--apps/codecs/lib/ffmpeg_get_bits.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/codecs/lib/ffmpeg_get_bits.h b/apps/codecs/lib/ffmpeg_get_bits.h
index 8fce395a4d..139d7ae556 100644
--- a/apps/codecs/lib/ffmpeg_get_bits.h
+++ b/apps/codecs/lib/ffmpeg_get_bits.h
@@ -178,9 +178,11 @@ for examples see get_bits, show_bits, skip_bits, get_vlc
178#ifdef ALT_BITSTREAM_READER 178#ifdef ALT_BITSTREAM_READER
179# define MIN_CACHE_BITS 25 179# define MIN_CACHE_BITS 25
180 180
181
182/* ROCKBOX: work around "set but not used" warning */
181# define OPEN_READER(name, gb)\ 183# define OPEN_READER(name, gb)\
182 unsigned int name##_index= (gb)->index;\ 184 unsigned int name##_index= (gb)->index;\
183 int name##_cache= 0;\ 185 int name##_cache __attribute__((unused)) = 0;\
184 186
185# define CLOSE_READER(name, gb)\ 187# define CLOSE_READER(name, gb)\
186 (gb)->index= name##_index;\ 188 (gb)->index= name##_index;\