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
3116cb14
Commit
3116cb14
authored
Apr 30, 2004
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AMV bug workaround
Originally committed as revision 3099 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
6387c3e6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
avcodec.h
libavcodec/avcodec.h
+1
-0
h263.c
libavcodec/h263.c
+3
-0
No files found.
libavcodec/avcodec.h
View file @
3116cb14
...
...
@@ -841,6 +841,7 @@ typedef struct AVCodecContext {
#define FF_BUG_XVID_ILACE 4
#define FF_BUG_UMP4 8
#define FF_BUG_NO_PADDING 16
#define FF_BUG_AMV 32
#define FF_BUG_AC_VLC 0 ///< will be removed, libavcodec can now handle these non compliant files by default
#define FF_BUG_QPEL_CHROMA 64
#define FF_BUG_STD_QPEL 128
...
...
libavcodec/h263.c
View file @
3116cb14
...
...
@@ -3222,6 +3222,9 @@ static inline int get_amv(MpegEncContext *s, int n){
int
len
=
1
<<
(
s
->
f_code
+
4
);
const
int
a
=
s
->
sprite_warping_accuracy
;
if
(
s
->
workaround_bugs
&
FF_BUG_AMV
)
len
>>=
s
->
quarter_sample
;
if
(
s
->
real_sprite_warping_points
==
1
){
if
(
s
->
divx_version
==
500
&&
s
->
divx_build
==
413
)
sum
=
s
->
sprite_offset
[
0
][
n
]
/
(
1
<<
(
a
-
s
->
quarter_sample
));
...
...
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