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
f22c24bd
Commit
f22c24bd
authored
Aug 30, 2014
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/rtpdec_hevc: Fix compilation with -DDEBUG.
parent
494cbc42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
rtpdec_hevc.c
libavformat/rtpdec_hevc.c
+4
-4
No files found.
libavformat/rtpdec_hevc.c
View file @
f22c24bd
...
...
@@ -128,7 +128,7 @@ static av_cold int hevc_sdp_parse_fmtp_config(AVFormatContext *s,
hevc_data
->
using_donl_field
=
1
;
#ifdef DEBUG
av_log
(
s
,
AV_LOG_DEBUG
,
"SDP: found sprop-max-don-diff in SDP, DON field usage is: %d
\n
"
,
hevc_data
->
using_don
s
);
av_log
(
s
,
AV_LOG_DEBUG
,
"SDP: found sprop-max-don-diff in SDP, DON field usage is: %d
\n
"
,
hevc_data
->
using_don
l_field
);
#endif
}
...
...
@@ -138,7 +138,7 @@ static av_cold int hevc_sdp_parse_fmtp_config(AVFormatContext *s,
hevc_data
->
using_donl_field
=
1
;
#ifdef DEBUG
av_log
(
s
,
AV_LOG_DEBUG
,
"SDP: found sprop-depack-buf-nalus in SDP, DON field usage is: %d
\n
"
,
hevc_data
->
using_don
s
);
av_log
(
s
,
AV_LOG_DEBUG
,
"SDP: found sprop-depack-buf-nalus in SDP, DON field usage is: %d
\n
"
,
hevc_data
->
using_don
l_field
);
#endif
}
...
...
@@ -295,7 +295,7 @@ static int hevc_handle_packet(AVFormatContext *ctx, PayloadContext *rtp_hevc_ctx
/* A/V packet: copy NAL unit data */
memcpy
(
pkt
->
data
+
sizeof
(
start_sequence
),
buf
,
len
);
COUNT_HEVC_NAL_TYPE
(
data
,
nal_type
);
COUNT_HEVC_NAL_TYPE
(
rtp_hevc_ctx
,
nal_type
);
break
;
/* fragmentation unit (FU) */
...
...
@@ -367,7 +367,7 @@ static int hevc_handle_packet(AVFormatContext *ctx, PayloadContext *rtp_hevc_ctx
}
if
(
!
res
){
COUNT_HEVC_NAL_TYPE
(
data
,
fu_type
);
COUNT_HEVC_NAL_TYPE
(
rtp_hevc_ctx
,
fu_type
);
}
break
;
...
...
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