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
08277a45
Commit
08277a45
authored
Sep 01, 2012
by
Piotr Bandurski
Committed by
Michael Niedermayer
Sep 01, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: add missing new line to some error messages
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
9b4badb0
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
9 additions
and
9 deletions
+9
-9
avidec.c
libavformat/avidec.c
+1
-1
bluray.c
libavformat/bluray.c
+1
-1
dv.c
libavformat/dv.c
+1
-1
gxfenc.c
libavformat/gxfenc.c
+1
-1
iff.c
libavformat/iff.c
+1
-1
msnwc_tcp.c
libavformat/msnwc_tcp.c
+1
-1
mxfenc.c
libavformat/mxfenc.c
+1
-1
omaenc.c
libavformat/omaenc.c
+1
-1
rtpdec.c
libavformat/rtpdec.c
+1
-1
No files found.
libavformat/avidec.c
View file @
08277a45
...
@@ -235,7 +235,7 @@ static int read_braindead_odml_indx(AVFormatContext *s, int frame_num){
...
@@ -235,7 +235,7 @@ static int read_braindead_odml_indx(AVFormatContext *s, int frame_num){
frame_num
+=
duration
;
frame_num
+=
duration
;
if
(
avio_seek
(
pb
,
pos
,
SEEK_SET
)
<
0
)
{
if
(
avio_seek
(
pb
,
pos
,
SEEK_SET
)
<
0
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"Failed to restore position after reading index"
);
av_log
(
s
,
AV_LOG_ERROR
,
"Failed to restore position after reading index
\n
"
);
return
-
1
;
return
-
1
;
}
}
...
...
libavformat/bluray.c
View file @
08277a45
...
@@ -93,7 +93,7 @@ static int check_disc_info(URLContext *h)
...
@@ -93,7 +93,7 @@ static int check_disc_info(URLContext *h)
"Media stream encrypted with BD+, install and configure libbdplus");
"Media stream encrypted with BD+, install and configure libbdplus");
} else {
} else {
*/
*/
av_log
(
h
,
AV_LOG_ERROR
,
"Unable to decrypt BD+ encrypted media"
);
av_log
(
h
,
AV_LOG_ERROR
,
"Unable to decrypt BD+ encrypted media
\n
"
);
/*}*/
/*}*/
return
-
1
;
return
-
1
;
}
}
...
...
libavformat/dv.c
View file @
08277a45
...
@@ -463,7 +463,7 @@ static int dv_read_timecode(AVFormatContext *s) {
...
@@ -463,7 +463,7 @@ static int dv_read_timecode(AVFormatContext *s) {
if
(
ret
)
if
(
ret
)
av_dict_set
(
&
s
->
metadata
,
"timecode"
,
timecode
,
0
);
av_dict_set
(
&
s
->
metadata
,
"timecode"
,
timecode
,
0
);
else
if
(
ret
<
0
)
else
if
(
ret
<
0
)
av_log
(
s
,
AV_LOG_ERROR
,
"Detected timecode is invalid"
);
av_log
(
s
,
AV_LOG_ERROR
,
"Detected timecode is invalid
\n
"
);
finish:
finish:
av_free
(
partial_frame
);
av_free
(
partial_frame
);
...
...
libavformat/gxfenc.c
View file @
08277a45
...
@@ -683,7 +683,7 @@ static int gxf_write_header(AVFormatContext *s)
...
@@ -683,7 +683,7 @@ static int gxf_write_header(AVFormatContext *s)
AVDictionaryEntry
*
tcr
=
av_dict_get
(
s
->
metadata
,
"timecode"
,
NULL
,
0
);
AVDictionaryEntry
*
tcr
=
av_dict_get
(
s
->
metadata
,
"timecode"
,
NULL
,
0
);
if
(
!
pb
->
seekable
)
{
if
(
!
pb
->
seekable
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"gxf muxer does not support streamed output, patch welcome"
);
av_log
(
s
,
AV_LOG_ERROR
,
"gxf muxer does not support streamed output, patch welcome
\n
"
);
return
-
1
;
return
-
1
;
}
}
...
...
libavformat/iff.c
View file @
08277a45
...
@@ -273,7 +273,7 @@ static int iff_read_header(AVFormatContext *s)
...
@@ -273,7 +273,7 @@ static int iff_read_header(AVFormatContext *s)
if
(
metadata_tag
)
{
if
(
metadata_tag
)
{
if
((
res
=
get_metadata
(
s
,
metadata_tag
,
data_size
))
<
0
)
{
if
((
res
=
get_metadata
(
s
,
metadata_tag
,
data_size
))
<
0
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"cannot allocate metadata tag %s!"
,
metadata_tag
);
av_log
(
s
,
AV_LOG_ERROR
,
"cannot allocate metadata tag %s!
\n
"
,
metadata_tag
);
return
res
;
return
res
;
}
}
}
}
...
...
libavformat/msnwc_tcp.c
View file @
08277a45
...
@@ -92,7 +92,7 @@ static int msnwc_tcp_read_header(AVFormatContext *ctx)
...
@@ -92,7 +92,7 @@ static int msnwc_tcp_read_header(AVFormatContext *ctx)
while
(
avio_r8
(
pb
)
!=
HEADER_SIZE
&&
!
url_feof
(
pb
));
while
(
avio_r8
(
pb
)
!=
HEADER_SIZE
&&
!
url_feof
(
pb
));
if
(
url_feof
(
pb
))
{
if
(
url_feof
(
pb
))
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"Could not find valid start."
);
av_log
(
ctx
,
AV_LOG_ERROR
,
"Could not find valid start.
\n
"
);
return
-
1
;
return
-
1
;
}
}
...
...
libavformat/mxfenc.c
View file @
08277a45
...
@@ -1505,7 +1505,7 @@ static int mxf_parse_dv_frame(AVFormatContext *s, AVStream *st, AVPacket *pkt)
...
@@ -1505,7 +1505,7 @@ static int mxf_parse_dv_frame(AVFormatContext *s, AVStream *st, AVPacket *pkt)
ul_index
=
6
+
pal
;
ul_index
=
6
+
pal
;
frame_size
=
pal
?
288000
:
240000
;
frame_size
=
pal
?
288000
:
240000
;
if
(
sc
->
interlaced
)
{
if
(
sc
->
interlaced
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"source marked as interlaced but codec profile is progressive"
);
av_log
(
s
,
AV_LOG_ERROR
,
"source marked as interlaced but codec profile is progressive
\n
"
);
sc
->
interlaced
=
0
;
sc
->
interlaced
=
0
;
}
}
break
;
break
;
...
...
libavformat/omaenc.c
View file @
08277a45
...
@@ -61,7 +61,7 @@ static av_cold int oma_write_header(AVFormatContext *s)
...
@@ -61,7 +61,7 @@ static av_cold int oma_write_header(AVFormatContext *s)
switch
(
format
->
codec_tag
)
{
switch
(
format
->
codec_tag
)
{
case
OMA_CODECID_ATRAC3
:
case
OMA_CODECID_ATRAC3
:
if
(
format
->
channels
!=
2
)
{
if
(
format
->
channels
!=
2
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"ATRAC3 in OMA is only supported with 2 channels"
);
av_log
(
s
,
AV_LOG_ERROR
,
"ATRAC3 in OMA is only supported with 2 channels
\n
"
);
return
AVERROR
(
EINVAL
);
return
AVERROR
(
EINVAL
);
}
}
if
(
format
->
extradata_size
==
14
)
/* WAV format extradata */
if
(
format
->
extradata_size
==
14
)
/* WAV format extradata */
...
...
libavformat/rtpdec.c
View file @
08277a45
...
@@ -771,7 +771,7 @@ int ff_parse_fmtp(AVStream *stream, PayloadContext *data, const char *p,
...
@@ -771,7 +771,7 @@ int ff_parse_fmtp(AVStream *stream, PayloadContext *data, const char *p,
int
value_size
=
strlen
(
p
)
+
1
;
int
value_size
=
strlen
(
p
)
+
1
;
if
(
!
(
value
=
av_malloc
(
value_size
)))
{
if
(
!
(
value
=
av_malloc
(
value_size
)))
{
av_log
(
stream
,
AV_LOG_ERROR
,
"Failed to allocate data for FMTP."
);
av_log
(
stream
,
AV_LOG_ERROR
,
"Failed to allocate data for FMTP.
\n
"
);
return
AVERROR
(
ENOMEM
);
return
AVERROR
(
ENOMEM
);
}
}
...
...
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