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
e205fe68
Commit
e205fe68
authored
Aug 30, 2014
by
Gabriel Dume
Committed by
Diego Biurrun
Sep 01, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpeg4videodec: Fix low_delay error message
Signed-off-by:
Diego Biurrun
<
diego@biurrun.de
>
parent
63f800ca
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mpeg4videodec.c
libavcodec/mpeg4videodec.c
+1
-1
No files found.
libavcodec/mpeg4videodec.c
View file @
e205fe68
...
@@ -2081,7 +2081,7 @@ static int decode_vop_header(Mpeg4DecContext *ctx, GetBitContext *gb)
...
@@ -2081,7 +2081,7 @@ static int decode_vop_header(Mpeg4DecContext *ctx, GetBitContext *gb)
s
->
pict_type
=
get_bits
(
gb
,
2
)
+
AV_PICTURE_TYPE_I
;
/* pict type: I = 0 , P = 1 */
s
->
pict_type
=
get_bits
(
gb
,
2
)
+
AV_PICTURE_TYPE_I
;
/* pict type: I = 0 , P = 1 */
if
(
s
->
pict_type
==
AV_PICTURE_TYPE_B
&&
s
->
low_delay
&&
if
(
s
->
pict_type
==
AV_PICTURE_TYPE_B
&&
s
->
low_delay
&&
ctx
->
vol_control_parameters
==
0
&&
!
(
s
->
flags
&
CODEC_FLAG_LOW_DELAY
))
{
ctx
->
vol_control_parameters
==
0
&&
!
(
s
->
flags
&
CODEC_FLAG_LOW_DELAY
))
{
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"low_delay flag incorrectly, clearing it
\n
"
);
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"low_delay flag
set
incorrectly, clearing it
\n
"
);
s
->
low_delay
=
0
;
s
->
low_delay
=
0
;
}
}
...
...
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