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
106790a4
Commit
106790a4
authored
Oct 08, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffv1: fix array data types
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
fc6860a3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ffv1.c
libavcodec/ffv1.c
+3
-3
No files found.
libavcodec/ffv1.c
View file @
106790a4
...
...
@@ -1245,7 +1245,7 @@ static int encode_slice(AVCodecContext *c, void *arg){
}
if
(
!
fs
->
ac
){
if
(
f
->
version
>
2
)
put_rac
(
&
fs
->
c
,
(
in
t
[]){
129
},
0
);
put_rac
(
&
fs
->
c
,
(
uint8_
t
[]){
129
},
0
);
fs
->
ac_byte_count
=
f
->
version
>
2
||
(
!
x
&&!
y
)
?
ff_rac_terminate
(
&
fs
->
c
)
:
0
;
init_put_bits
(
&
fs
->
pb
,
fs
->
c
.
bytestream_start
+
fs
->
ac_byte_count
,
fs
->
c
.
bytestream_end
-
fs
->
c
.
bytestream_start
-
fs
->
ac_byte_count
);
}
...
...
@@ -1678,7 +1678,7 @@ static int decode_slice(AVCodecContext *c, void *arg){
if
(
!
fs
->
ac
){
if
(
f
->
version
==
3
&&
f
->
minor_version
>
1
||
f
->
version
>
3
)
get_rac
(
&
fs
->
c
,
(
in
t
[]){
129
});
get_rac
(
&
fs
->
c
,
(
uint8_
t
[]){
129
});
fs
->
ac_byte_count
=
f
->
version
>
2
||
(
!
x
&&!
y
)
?
fs
->
c
.
bytestream
-
fs
->
c
.
bytestream_start
-
1
:
0
;
init_get_bits
(
&
fs
->
gb
,
fs
->
c
.
bytestream_start
+
fs
->
ac_byte_count
,
...
...
@@ -1707,7 +1707,7 @@ static int decode_slice(AVCodecContext *c, void *arg){
}
if
(
fs
->
ac
&&
f
->
version
>
2
)
{
int
v
;
get_rac
(
&
fs
->
c
,
(
in
t
[]){
129
});
get_rac
(
&
fs
->
c
,
(
uint8_
t
[]){
129
});
v
=
fs
->
c
.
bytestream_end
-
fs
->
c
.
bytestream
-
2
-
5
*
f
->
ec
;
if
(
v
)
{
av_log
(
f
->
avctx
,
AV_LOG_ERROR
,
"bytestream end mismatching by %d
\n
"
,
v
);
...
...
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