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
653bf3c5
Commit
653bf3c5
authored
Jun 08, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/hq_hqa: Fix signness of tag
Fixes Ticket4509 Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
130a6c04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
hq_hqa.c
libavcodec/hq_hqa.c
+3
-2
No files found.
libavcodec/hq_hqa.c
View file @
653bf3c5
...
@@ -121,7 +121,7 @@ static int hq_decode_frame(HQContext *ctx, AVFrame *pic,
...
@@ -121,7 +121,7 @@ static int hq_decode_frame(HQContext *ctx, AVFrame *pic,
uint32_t
slice_off
[
21
];
uint32_t
slice_off
[
21
];
int
slice
,
start_off
,
next_off
,
i
,
ret
;
int
slice
,
start_off
,
next_off
,
i
,
ret
;
if
(
prof_num
>=
NUM_HQ_PROFILES
)
{
if
(
(
unsigned
)
prof_num
>=
NUM_HQ_PROFILES
)
{
profile
=
&
ff_hq_profile
[
0
];
profile
=
&
ff_hq_profile
[
0
];
avpriv_request_sample
(
ctx
->
avctx
,
"HQ Profile %d"
,
prof_num
);
avpriv_request_sample
(
ctx
->
avctx
,
"HQ Profile %d"
,
prof_num
);
}
else
{
}
else
{
...
@@ -298,7 +298,8 @@ static int hq_hqa_decode_frame(AVCodecContext *avctx, void *data,
...
@@ -298,7 +298,8 @@ static int hq_hqa_decode_frame(AVCodecContext *avctx, void *data,
AVFrame
*
pic
=
data
;
AVFrame
*
pic
=
data
;
uint32_t
info_tag
;
uint32_t
info_tag
;
unsigned
int
data_size
;
unsigned
int
data_size
;
int
tag
,
ret
;
int
ret
;
unsigned
tag
;
bytestream2_init
(
&
ctx
->
gbc
,
avpkt
->
data
,
avpkt
->
size
);
bytestream2_init
(
&
ctx
->
gbc
,
avpkt
->
data
,
avpkt
->
size
);
if
(
bytestream2_get_bytes_left
(
&
ctx
->
gbc
)
<
4
+
4
)
{
if
(
bytestream2_get_bytes_left
(
&
ctx
->
gbc
)
<
4
+
4
)
{
...
...
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