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
1701a22f
Commit
1701a22f
authored
Nov 06, 2012
by
Peter Ross
Committed by
Michael Niedermayer
Nov 06, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wtv: rename ff_stream_guid to ff_SBE2_STREAM_DESC_EVENT
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
9632f5ef
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
wtv.c
libavformat/wtv.c
+1
-1
wtv.h
libavformat/wtv.h
+1
-1
wtvdec.c
libavformat/wtvdec.c
+1
-1
wtvenc.c
libavformat/wtvenc.c
+1
-1
No files found.
libavformat/wtv.c
View file @
1701a22f
...
...
@@ -30,7 +30,7 @@ const ff_asf_guid ff_timestamp_guid =
{
0x5B
,
0x05
,
0xE6
,
0x1B
,
0x97
,
0xA9
,
0x49
,
0x43
,
0x88
,
0x17
,
0x1A
,
0x65
,
0x5A
,
0x29
,
0x8A
,
0x97
};
const
ff_asf_guid
ff_data_guid
=
{
0x95
,
0xC3
,
0xD2
,
0xC2
,
0x7E
,
0x9A
,
0xDA
,
0x11
,
0x8B
,
0xF7
,
0x00
,
0x07
,
0xE9
,
0x5E
,
0xAD
,
0x8D
};
const
ff_asf_guid
ff_
stream_guid
=
const
ff_asf_guid
ff_
SBE2_STREAM_DESC_EVENT
=
{
0xED
,
0xA4
,
0x13
,
0x23
,
0x2D
,
0xBF
,
0x4F
,
0x45
,
0xAD
,
0x8A
,
0xD9
,
0x5B
,
0xA7
,
0xF9
,
0x1F
,
0xEE
};
const
ff_asf_guid
ff_mediatype_audio
=
{
'a'
,
'u'
,
'd'
,
's'
,
FF_MEDIASUBTYPE_BASE_GUID
};
...
...
libavformat/wtv.h
View file @
1701a22f
...
...
@@ -39,7 +39,7 @@ extern const ff_asf_guid ff_dir_entry_guid;
extern
const
ff_asf_guid
ff_wtv_guid
;
extern
const
ff_asf_guid
ff_timestamp_guid
;
extern
const
ff_asf_guid
ff_data_guid
;
extern
const
ff_asf_guid
ff_
stream_guid
;
extern
const
ff_asf_guid
ff_
SBE2_STREAM_DESC_EVENT
;
extern
const
ff_asf_guid
ff_mediatype_audio
;
extern
const
ff_asf_guid
ff_mediatype_video
;
extern
const
ff_asf_guid
ff_format_none
;
...
...
libavformat/wtvdec.c
View file @
1701a22f
...
...
@@ -741,7 +741,7 @@ static int parse_chunks(AVFormatContext *s, int mode, int64_t seekts, int *len_p
avio_skip
(
pb
,
8
);
consumed
=
32
;
if
(
!
ff_guidcmp
(
g
,
ff_
stream_guid
))
{
if
(
!
ff_guidcmp
(
g
,
ff_
SBE2_STREAM_DESC_EVENT
))
{
if
(
ff_find_stream_index
(
s
,
sid
)
<
0
)
{
ff_asf_guid
mediatype
,
subtype
,
formattype
;
int
size
;
...
...
libavformat/wtvenc.c
View file @
1701a22f
...
...
@@ -310,7 +310,7 @@ static int write_stream_data(AVFormatContext *s, AVStream *st, int flag)
int
ret
;
if
(
!
flag
)
{
write_chunk_header2
(
s
,
&
ff_
stream_guid
,
0x80000000
|
(
st
->
index
+
INDEX_BASE
));
write_chunk_header2
(
s
,
&
ff_
SBE2_STREAM_DESC_EVENT
,
0x80000000
|
(
st
->
index
+
INDEX_BASE
));
avio_wl32
(
pb
,
0x00000001
);
avio_wl32
(
pb
,
st
->
index
+
INDEX_BASE
);
//stream_id
avio_wl32
(
pb
,
0x00000001
);
...
...
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