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
f8af5cb5
Commit
f8af5cb5
authored
Dec 09, 2002
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correct mpeg4 vo type
Originally committed as revision 1324 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
86689eeb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
h263.c
libavcodec/h263.c
+5
-1
mpeg4data.h
libavcodec/mpeg4data.h
+7
-2
ffmpeg.regression.ref
tests/ffmpeg.regression.ref
+1
-1
No files found.
libavcodec/h263.c
View file @
f8af5cb5
...
...
@@ -1522,7 +1522,11 @@ static void mpeg4_encode_vol_header(MpegEncContext * s)
int
vo_ver_id
=
1
;
//must be 2 if we want GMC or q-pel
char
buf
[
255
];
s
->
vo_type
=
s
->
has_b_frames
?
CORE_VO_TYPE
:
SIMPLE_VO_TYPE
;
if
(
s
->
max_b_frames
){
s
->
vo_type
=
ADV_SIMPLE_VO_TYPE
;
}
else
{
s
->
vo_type
=
SIMPLE_VO_TYPE
;
}
put_bits
(
&
s
->
pb
,
16
,
0
);
put_bits
(
&
s
->
pb
,
16
,
0x100
);
/* video obj */
...
...
libavcodec/mpeg4data.h
View file @
f8af5cb5
...
...
@@ -6,6 +6,11 @@
#define SIMPLE_VO_TYPE 1
#define CORE_VO_TYPE 3
#define MAIN_VO_TYPE 4
#define NBIT_VO_TYPE 5
#define ARTS_VO_TYPE 10
#define ACE_VO_TYPE 12
#define ADV_SIMPLE_VO_TYPE 17
// aspect_ratio_info
#define EXTENDED_PAR 15
...
...
tests/ffmpeg.regression.ref
View file @
f8af5cb5
...
...
@@ -13,7 +13,7 @@ bdd8dc1182fa731f54c3b5ebf9002e40 *./data/out.yuv
f7b3140fea7b70a5673061aebe547562 *./data/out.yuv
a180b84cc43ab6bed7796354385f00c1 *./data/a-odivx.avi
3a1463cf62c2bee9046870f34400494c *./data/out.yuv
d64b3c8a7e549b8e32c6101813ad2e02
*./data/a-mpeg4-rc.avi
50be55c7fbb9a7b05d51afe3004232ef
*./data/a-mpeg4-rc.avi
f881bf7db273282791c18330bcae338d *./data/out.yuv
b517505ecd37c09656ae12646428da58 *./data/a-mpeg4-adv.avi
0147bab9d6971eb177457dd096ae8aaf *./data/out.yuv
...
...
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