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
77e79490
Commit
77e79490
authored
Apr 21, 2015
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/hq_hqa: remove superfluous log message
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
8f9a3817
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
hq_hqa.c
libavcodec/hq_hqa.c
+2
-6
No files found.
libavcodec/hq_hqa.c
View file @
77e79490
...
@@ -134,10 +134,8 @@ static int hq_decode_frame(HQContext *ctx, AVFrame *pic,
...
@@ -134,10 +134,8 @@ static int hq_decode_frame(HQContext *ctx, AVFrame *pic,
ctx
->
avctx
->
pix_fmt
=
AV_PIX_FMT_YUV422P
;
ctx
->
avctx
->
pix_fmt
=
AV_PIX_FMT_YUV422P
;
ret
=
ff_get_buffer
(
ctx
->
avctx
,
pic
,
0
);
ret
=
ff_get_buffer
(
ctx
->
avctx
,
pic
,
0
);
if
(
ret
<
0
)
{
if
(
ret
<
0
)
av_log
(
ctx
->
avctx
,
AV_LOG_ERROR
,
"Could not allocate buffer.
\n
"
);
return
ret
;
return
ret
;
}
/* Offsets are stored from CUV position, so adjust them accordingly. */
/* Offsets are stored from CUV position, so adjust them accordingly. */
for
(
i
=
0
;
i
<
profile
->
num_slices
+
1
;
i
++
)
for
(
i
=
0
;
i
<
profile
->
num_slices
+
1
;
i
++
)
...
@@ -264,10 +262,8 @@ static int hqa_decode_frame(HQContext *ctx, AVFrame *pic, size_t data_size)
...
@@ -264,10 +262,8 @@ static int hqa_decode_frame(HQContext *ctx, AVFrame *pic, size_t data_size)
}
}
ret
=
ff_get_buffer
(
ctx
->
avctx
,
pic
,
0
);
ret
=
ff_get_buffer
(
ctx
->
avctx
,
pic
,
0
);
if
(
ret
<
0
)
{
if
(
ret
<
0
)
av_log
(
ctx
->
avctx
,
AV_LOG_ERROR
,
"Could not allocate buffer.
\n
"
);
return
ret
;
return
ret
;
}
/* Offsets are stored from HQA1 position, so adjust them accordingly. */
/* Offsets are stored from HQA1 position, so adjust them accordingly. */
for
(
i
=
0
;
i
<
num_slices
+
1
;
i
++
)
for
(
i
=
0
;
i
<
num_slices
+
1
;
i
++
)
...
...
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