Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
2ed503af
Commit
2ed503af
authored
May 05, 2012
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtpdec_h264: Add missing newlines to av_log calls
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
b97d21e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
rtpdec_h264.c
libavformat/rtpdec_h264.c
+4
-4
No files found.
libavformat/rtpdec_h264.c
View file @
2ed503af
...
@@ -85,7 +85,7 @@ static int sdp_parse_fmtp_config_h264(AVStream *stream,
...
@@ -85,7 +85,7 @@ static int sdp_parse_fmtp_config_h264(AVStream *stream,
*/
*/
if
(
h264_data
->
packetization_mode
>
1
)
if
(
h264_data
->
packetization_mode
>
1
)
av_log
(
codec
,
AV_LOG_ERROR
,
av_log
(
codec
,
AV_LOG_ERROR
,
"Interleaved RTP mode is not supported yet."
);
"Interleaved RTP mode is not supported yet.
\n
"
);
}
else
if
(
!
strcmp
(
attr
,
"profile-level-id"
))
{
}
else
if
(
!
strcmp
(
attr
,
"profile-level-id"
))
{
if
(
strlen
(
value
)
==
6
)
{
if
(
strlen
(
value
)
==
6
)
{
char
buffer
[
3
];
char
buffer
[
3
];
...
@@ -139,7 +139,7 @@ static int sdp_parse_fmtp_config_h264(AVStream *stream,
...
@@ -139,7 +139,7 @@ static int sdp_parse_fmtp_config_h264(AVStream *stream,
FF_INPUT_BUFFER_PADDING_SIZE
);
FF_INPUT_BUFFER_PADDING_SIZE
);
if
(
!
dest
)
{
if
(
!
dest
)
{
av_log
(
codec
,
AV_LOG_ERROR
,
av_log
(
codec
,
AV_LOG_ERROR
,
"Unable to allocate memory for extradata!"
);
"Unable to allocate memory for extradata!
\n
"
);
return
AVERROR
(
ENOMEM
);
return
AVERROR
(
ENOMEM
);
}
}
if
(
codec
->
extradata_size
)
{
if
(
codec
->
extradata_size
)
{
...
@@ -158,7 +158,7 @@ static int sdp_parse_fmtp_config_h264(AVStream *stream,
...
@@ -158,7 +158,7 @@ static int sdp_parse_fmtp_config_h264(AVStream *stream,
codec
->
extradata_size
+=
sizeof
(
start_sequence
)
+
packet_size
;
codec
->
extradata_size
+=
sizeof
(
start_sequence
)
+
packet_size
;
}
}
}
}
av_log
(
codec
,
AV_LOG_DEBUG
,
"Extradata set to %p (size: %d)!"
,
av_log
(
codec
,
AV_LOG_DEBUG
,
"Extradata set to %p (size: %d)!
\n
"
,
codec
->
extradata
,
codec
->
extradata_size
);
codec
->
extradata
,
codec
->
extradata_size
);
}
}
return
0
;
return
0
;
...
@@ -309,7 +309,7 @@ static int h264_handle_packet(AVFormatContext *ctx, PayloadContext *data,
...
@@ -309,7 +309,7 @@ static int h264_handle_packet(AVFormatContext *ctx, PayloadContext *data,
case
30
:
// undefined
case
30
:
// undefined
case
31
:
// undefined
case
31
:
// undefined
default:
default:
av_log
(
ctx
,
AV_LOG_ERROR
,
"Undefined type (%d)"
,
type
);
av_log
(
ctx
,
AV_LOG_ERROR
,
"Undefined type (%d)
\n
"
,
type
);
result
=
AVERROR_INVALIDDATA
;
result
=
AVERROR_INVALIDDATA
;
break
;
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