Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
0f176bb8
Commit
0f176bb8
authored
Apr 30, 2018
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/m4vdec: Use the same constant names as libavcodec
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
34dbdcfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
m4vdec.c
libavformat/m4vdec.c
+7
-4
No files found.
libavformat/m4vdec.c
View file @
0f176bb8
...
...
@@ -22,8 +22,11 @@
#include "avformat.h"
#include "rawdec.h"
#define VISUAL_OBJECT_START_CODE 0x000001b5
#define VOP_START_CODE 0x000001b6
#define VOS_STARTCODE 0x1B0
#define USER_DATA_STARTCODE 0x1B2
#define GOP_STARTCODE 0x1B3
#define VISUAL_OBJ_STARTCODE 0x1B5
#define VOP_STARTCODE 0x1B6
#define SLICE_STARTCODE 0x1B7
#define EXT_STARTCODE 0x1B8
...
...
@@ -41,9 +44,9 @@ static int mpeg4video_probe(AVProbeData *probe_packet)
if
(
temp_buffer
<
2
)
continue
;
if
(
temp_buffer
==
VOP_START
_
CODE
)
if
(
temp_buffer
==
VOP_STARTCODE
)
VOP
++
;
else
if
(
temp_buffer
==
VISUAL_OBJ
ECT_START_
CODE
)
else
if
(
temp_buffer
==
VISUAL_OBJ
_START
CODE
)
VISO
++
;
else
if
(
temp_buffer
>=
0x100
&&
temp_buffer
<
0x120
)
VO
++
;
...
...
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