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
78a5ec27
Commit
78a5ec27
authored
Sep 29, 2006
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify
Originally committed as revision 6389 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
6d312496
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
rv10.c
libavcodec/rv10.c
+2
-4
No files found.
libavcodec/rv10.c
View file @
78a5ec27
...
...
@@ -516,26 +516,24 @@ static int rv10_decode_init(AVCodecContext *avctx)
s
->
width
=
avctx
->
width
;
s
->
height
=
avctx
->
height
;
s
->
h263_long_vectors
=
!!
(
*
(
uint32_t
*
)
avctx
->
extradata
&
0x1000000
);
switch
(
avctx
->
sub_id
){
case
0x10000000
:
s
->
rv10_version
=
0
;
s
->
h263_long_vectors
=
0
;
s
->
low_delay
=
1
;
break
;
case
0x10002000
:
s
->
rv10_version
=
3
;
s
->
h263_long_vectors
=
1
;
s
->
low_delay
=
1
;
s
->
obmc
=
1
;
break
;
case
0x10003000
:
s
->
rv10_version
=
3
;
s
->
h263_long_vectors
=
1
;
s
->
low_delay
=
1
;
break
;
case
0x10003001
:
s
->
rv10_version
=
3
;
s
->
h263_long_vectors
=
!!
(
*
(
uint32_t
*
)
avctx
->
extradata
&
0x1000000
);
s
->
low_delay
=
1
;
break
;
case
0x20001000
:
/* real rv20 decoder fail on this id */
...
...
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