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
cc0e2ba1
Commit
cc0e2ba1
authored
Dec 12, 2013
by
Alex Sukhanov
Committed by
Michael Niedermayer
Dec 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable parser in FLV demuxer for H264 codec
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
f6cd447b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
flvdec.c
libavformat/flvdec.c
+1
-0
No files found.
libavformat/flvdec.c
View file @
cc0e2ba1
...
@@ -256,6 +256,7 @@ static int flv_set_video_codec(AVFormatContext *s, AVStream *vstream,
...
@@ -256,6 +256,7 @@ static int flv_set_video_codec(AVFormatContext *s, AVStream *vstream,
return
1
;
// 1 byte body size adjustment for flv_read_packet()
return
1
;
// 1 byte body size adjustment for flv_read_packet()
case
FLV_CODECID_H264
:
case
FLV_CODECID_H264
:
vcodec
->
codec_id
=
AV_CODEC_ID_H264
;
vcodec
->
codec_id
=
AV_CODEC_ID_H264
;
vstream
->
need_parsing
=
AVSTREAM_PARSE_HEADERS
;
return
3
;
// not 4, reading packet type will consume one byte
return
3
;
// not 4, reading packet type will consume one byte
case
FLV_CODECID_MPEG4
:
case
FLV_CODECID_MPEG4
:
vcodec
->
codec_id
=
AV_CODEC_ID_MPEG4
;
vcodec
->
codec_id
=
AV_CODEC_ID_MPEG4
;
...
...
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