Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
35ef76b5
Commit
35ef76b5
authored
20 years ago
by
Michael Niedermayer
Browse files
Options
Downloads
Patches
Plain Diff
rv20103001 support
Originally committed as revision 3692 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
6ccedec0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavcodec/rv10.c
+10
-0
10 additions, 0 deletions
libavcodec/rv10.c
with
10 additions
and
0 deletions
libavcodec/rv10.c
+
10
−
0
View file @
35ef76b5
...
@@ -342,6 +342,15 @@ static int rv20_decode_picture_header(MpegEncContext *s)
...
@@ -342,6 +342,15 @@ static int rv20_decode_picture_header(MpegEncContext *s)
{
{
int
seq
,
mb_pos
,
i
;
int
seq
,
mb_pos
,
i
;
#if 0
GetBitContext gb= s->gb;
for(i=0; i<64; i++){
av_log(s->avctx, AV_LOG_DEBUG, "%d", get_bits1(&gb));
if(i%4==3) av_log(s->avctx, AV_LOG_DEBUG, " ");
}
av_log(s->avctx, AV_LOG_DEBUG, "\n");
#endif
if
(
s
->
avctx
->
sub_id
==
0x30202002
||
s
->
avctx
->
sub_id
==
0x30203002
){
if
(
s
->
avctx
->
sub_id
==
0x30202002
||
s
->
avctx
->
sub_id
==
0x30203002
){
if
(
get_bits
(
&
s
->
gb
,
3
)){
if
(
get_bits
(
&
s
->
gb
,
3
)){
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"unknown triplet set
\n
"
);
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"unknown triplet set
\n
"
);
...
@@ -482,6 +491,7 @@ static int rv10_decode_init(AVCodecContext *avctx)
...
@@ -482,6 +491,7 @@ static int rv10_decode_init(AVCodecContext *avctx)
case
0x20001000
:
case
0x20001000
:
case
0x20100001
:
case
0x20100001
:
case
0x20101001
:
case
0x20101001
:
case
0x20103001
:
s
->
low_delay
=
1
;
s
->
low_delay
=
1
;
break
;
break
;
case
0x20200002
:
case
0x20200002
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment