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
6ccedec0
Commit
6ccedec0
authored
Nov 19, 2004
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rv20 demuxing fix
Originally committed as revision 3691 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ec892563
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
rm.c
libavformat/rm.c
+4
-12
No files found.
libavformat/rm.c
View file @
6ccedec0
...
...
@@ -653,19 +653,11 @@ static int rm_read_header(AVFormatContext *s, AVFormatParameters *ap)
get_be16
(
pb
);
/* modification of h263 codec version (!) */
h263_hack_version
=
get_be32
(
pb
);
switch
(
h263_hack_version
)
{
case
0x10000000
:
case
0x10003000
:
case
0x10003001
:
default:
st
->
codec
.
sub_id
=
h263_hack_version
;
st
->
codec
.
sub_id
=
h263_hack_version
;
if
((
h263_hack_version
>>
28
)
==
1
)
st
->
codec
.
codec_id
=
CODEC_ID_RV10
;
break
;
// default:
/* not handled */
st
->
codec
.
codec_id
=
CODEC_ID_NONE
;
break
;
}
else
st
->
codec
.
codec_id
=
CODEC_ID_RV20
;
}
/* skip codec info */
size
=
url_ftell
(
pb
)
-
codec_pos
;
...
...
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