Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
5b95d39e
Commit
5b95d39e
authored
Jan 21, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vp3: fix compilation with a disabled theora
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
ed37a566
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vp3.c
libavcodec/vp3.c
+2
-0
No files found.
libavcodec/vp3.c
View file @
5b95d39e
...
@@ -1922,6 +1922,7 @@ static int vp3_decode_frame(AVCodecContext *avctx,
...
@@ -1922,6 +1922,7 @@ static int vp3_decode_frame(AVCodecContext *avctx,
init_get_bits
(
&
gb
,
buf
,
buf_size
*
8
);
init_get_bits
(
&
gb
,
buf
,
buf_size
*
8
);
#if CONFIG_THEORA_DECODER
if
(
s
->
theora
&&
get_bits1
(
&
gb
))
if
(
s
->
theora
&&
get_bits1
(
&
gb
))
{
{
int
type
=
get_bits
(
&
gb
,
7
);
int
type
=
get_bits
(
&
gb
,
7
);
...
@@ -1952,6 +1953,7 @@ static int vp3_decode_frame(AVCodecContext *avctx,
...
@@ -1952,6 +1953,7 @@ static int vp3_decode_frame(AVCodecContext *avctx,
av_log
(
avctx
,
AV_LOG_ERROR
,
"Header packet passed to frame decoder, skipping
\n
"
);
av_log
(
avctx
,
AV_LOG_ERROR
,
"Header packet passed to frame decoder, skipping
\n
"
);
return
-
1
;
return
-
1
;
}
}
#endif
s
->
keyframe
=
!
get_bits1
(
&
gb
);
s
->
keyframe
=
!
get_bits1
(
&
gb
);
if
(
!
s
->
all_fragments
)
{
if
(
!
s
->
all_fragments
)
{
...
...
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