Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
3b6bbfa0
Commit
3b6bbfa0
authored
May 11, 2011
by
Reimar Döffinger
Committed by
Carl Eugen Hoyos
May 11, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check syntax even if DEBUG is not defined.
parent
e3497907
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
mjpegdec.c
libavcodec/mjpegdec.c
+0
-4
log.h
libavutil/log.h
+1
-1
No files found.
libavcodec/mjpegdec.c
View file @
3b6bbfa0
...
...
@@ -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
:
...
...
libavutil/log.h
View file @
3b6bbfa0
...
...
@@ -143,7 +143,7 @@ const char* av_default_item_name(void* ctx);
#ifdef DEBUG
# define av_dlog(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__)
#else
# define av_dlog(pctx, ...)
# define av_dlog(pctx, ...)
do { if (0) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0)
#endif
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment