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
a7ac1a7b
Commit
a7ac1a7b
authored
Jun 11, 2015
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flv: Name an enum and use its type
parent
30dfc1da
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
flv.h
libavformat/flv.h
+1
-1
flvdec.c
libavformat/flvdec.c
+2
-1
No files found.
libavformat/flv.h
View file @
a7ac1a7b
...
...
@@ -51,7 +51,7 @@ enum {
FLV_HEADER_FLAG_HASAUDIO
=
4
,
};
enum
{
enum
FlvTagType
{
FLV_TAG_TYPE_AUDIO
=
0x08
,
FLV_TAG_TYPE_VIDEO
=
0x09
,
FLV_TAG_TYPE_META
=
0x12
,
...
...
libavformat/flvdec.c
View file @
a7ac1a7b
...
...
@@ -737,7 +737,8 @@ skip:
static
int
flv_read_packet
(
AVFormatContext
*
s
,
AVPacket
*
pkt
)
{
FLVContext
*
flv
=
s
->
priv_data
;
int
ret
,
i
,
type
,
size
,
flags
,
is_audio
;
int
ret
,
i
,
size
,
flags
,
is_audio
;
enum
FlvTagType
type
;
int64_t
next
,
pos
;
int64_t
dts
,
pts
=
AV_NOPTS_VALUE
;
int
sample_rate
=
0
,
channels
=
0
;
...
...
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