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
0bf40e0e
Commit
0bf40e0e
authored
Oct 17, 2012
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/yop: remove redudant YOP in av_log() messages
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
4c6c6a26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
yop.c
libavcodec/yop.c
+2
-4
No files found.
libavcodec/yop.c
View file @
0bf40e0e
...
...
@@ -85,7 +85,6 @@ static av_cold int yop_decode_init(AVCodecContext *avctx)
if
(
avctx
->
width
&
1
||
avctx
->
height
&
1
||
av_image_check_size
(
avctx
->
width
,
avctx
->
height
,
0
,
avctx
)
<
0
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"YOP has invalid dimensions
\n
"
);
return
-
1
;
}
...
...
@@ -104,7 +103,7 @@ static av_cold int yop_decode_init(AVCodecContext *avctx)
if
(
s
->
num_pal_colors
+
s
->
first_color
[
0
]
>
256
||
s
->
num_pal_colors
+
s
->
first_color
[
1
]
>
256
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"
YOP: p
alette parameters invalid, header probably corrupt
\n
"
);
"
P
alette parameters invalid, header probably corrupt
\n
"
);
return
AVERROR_INVALIDDATA
;
}
...
...
@@ -147,8 +146,7 @@ static int yop_copy_previous_block(YopDecContext *s, int copy_tag)
bufptr
=
s
->
dstptr
+
motion_vector
[
copy_tag
][
0
]
+
s
->
frame
.
linesize
[
0
]
*
motion_vector
[
copy_tag
][
1
];
if
(
bufptr
<
s
->
dstbuf
)
{
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"YOP: cannot decode, file probably corrupt
\n
"
);
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"File probably corrupt
\n
"
);
return
AVERROR_INVALIDDATA
;
}
...
...
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