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
1b4580d1
Commit
1b4580d1
authored
Mar 03, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix duplicate & droped frame in Californication.S02E01.HDTV.XviD-NoTV.avi
parent
d667be2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
h263dec.c
libavcodec/h263dec.c
+10
-0
No files found.
libavcodec/h263dec.c
View file @
1b4580d1
...
...
@@ -383,6 +383,16 @@ uint64_t time= rdtsc();
retry
:
if
(
s
->
divx_packed
&&
s
->
xvid_build
>=
0
&&
s
->
bitstream_buffer_size
){
int
i
;
for
(
i
=
0
;
i
<
buf_size
-
3
;
i
++
){
if
(
buf
[
i
]
==
0
&&
buf
[
i
+
1
]
==
0
&&
buf
[
i
+
2
]
==
1
){
if
(
buf
[
i
+
3
]
==
0xB0
)
s
->
bitstream_buffer_size
=
0
;
break
;
}
}
}
if
(
s
->
bitstream_buffer_size
&&
(
s
->
divx_packed
||
buf_size
<
20
)){
//divx 5.01+/xvid frame reorder
init_get_bits
(
&
s
->
gb
,
s
->
bitstream_buffer
,
s
->
bitstream_buffer_size
*
8
);
...
...
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