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
d7455a1c
Commit
d7455a1c
authored
Apr 08, 2007
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove #if 0 code.
Originally committed as revision 8683 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
51cea49a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
vp3.c
libavcodec/vp3.c
+0
-22
No files found.
libavcodec/vp3.c
View file @
d7455a1c
...
...
@@ -331,8 +331,6 @@ typedef struct Vp3DecodeContext {
int
bounding_values_array
[
256
];
}
Vp3DecodeContext
;
static
int
theora_decode_tables
(
AVCodecContext
*
avctx
,
GetBitContext
*
gb
);
/************************************************************************
* VP3 specific functions
************************************************************************/
...
...
@@ -2141,28 +2139,8 @@ static int vp3_decode_frame(AVCodecContext *avctx,
if
(
s
->
theora
&&
get_bits1
(
&
gb
))
{
#if 1
av_log
(
avctx
,
AV_LOG_ERROR
,
"Header packet passed to frame decoder, skipping
\n
"
);
return
-
1
;
#else
int
ptype
=
get_bits
(
&
gb
,
7
);
skip_bits
(
&
gb
,
6
*
8
);
/* "theora" */
switch
(
ptype
)
{
case
1
:
theora_decode_comments
(
avctx
,
&
gb
);
break
;
case
2
:
theora_decode_tables
(
avctx
,
&
gb
);
init_dequantizer
(
s
);
break
;
default:
av_log
(
avctx
,
AV_LOG_ERROR
,
"Unknown Theora config packet: %d
\n
"
,
ptype
);
}
return
buf_size
;
#endif
}
s
->
keyframe
=
!
get_bits1
(
&
gb
);
...
...
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