aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-05-11 12:26:25 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-05-11 12:26:25 +0200
commit3b6bbfa0631d237f2bbc85a7b43907733bea1e82 (patch)
treeb964eef908726578c24530db8682cbf5e9b43fa8 /libavcodec
parente3497907efb8b991c6de935ca8eca840f186e45b (diff)
downloadffmpeg-3b6bbfa0631d237f2bbc85a7b43907733bea1e82.tar.gz
Check syntax even if DEBUG is not defined.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mjpegdec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c
index 3b1a8abbee..afcc1b74a7 100644
--- a/libavcodec/mjpegdec.c
+++ b/libavcodec/mjpegdec.c
@@ -1282,9 +1282,7 @@ static int find_marker(const uint8_t **pbuf_ptr, const uint8_t *buf_end)
const uint8_t *buf_ptr;
unsigned int v, v2;
int val;
-#ifdef DEBUG
int skipped=0;
-#endif
buf_ptr = *pbuf_ptr;
while (buf_ptr < buf_end) {
@@ -1294,9 +1292,7 @@ static int find_marker(const uint8_t **pbuf_ptr, const uint8_t *buf_end)
val = *buf_ptr++;
goto found;
}
-#ifdef DEBUG
skipped++;
-#endif
}
val = -1;
found: