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
26697779
Commit
26697779
authored
Mar 01, 2006
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix decoding of mpeg2-trunc.vob
Originally committed as revision 5091 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
7581c5f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mpeg12.c
libavcodec/mpeg12.c
+1
-1
No files found.
libavcodec/mpeg12.c
View file @
26697779
...
...
@@ -3114,7 +3114,7 @@ static int mpeg_decode_frame(AVCodecContext *avctx,
/* skip b frames if we dont have reference frames */
if
(
s2
->
pict_type
==
B_TYPE
)
break
;
/* skip P frames if we dont have reference frame no valid header */
if
(
s2
->
pict_type
==
P_TYPE
&&
!
s2
->
first_slice
)
break
;
// if(s2->pict_type==P_TYPE && s2->first_field
&& !s2->first_slice) break;
}
/* skip b frames if we are in a hurry */
if
(
avctx
->
hurry_up
&&
s2
->
pict_type
==
B_TYPE
)
break
;
...
...
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