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
4eaad9c0
Commit
4eaad9c0
authored
Mar 02, 2004
by
Ivan Kalvachev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
forgot default chroma_format value
Originally committed as revision 2835 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
197662a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
mpeg12.c
libavcodec/mpeg12.c
+2
-0
No files found.
libavcodec/mpeg12.c
View file @
4eaad9c0
...
@@ -2489,6 +2489,7 @@ static int mpeg1_decode_sequence(AVCodecContext *avctx,
...
@@ -2489,6 +2489,7 @@ static int mpeg1_decode_sequence(AVCodecContext *avctx,
s
->
progressive_frame
=
1
;
s
->
progressive_frame
=
1
;
s
->
picture_structure
=
PICT_FRAME
;
s
->
picture_structure
=
PICT_FRAME
;
s
->
frame_pred_frame_dct
=
1
;
s
->
frame_pred_frame_dct
=
1
;
s
->
chroma_format
=
1
;
s
->
codec_id
=
s
->
avctx
->
codec_id
=
CODEC_ID_MPEG1VIDEO
;
s
->
codec_id
=
s
->
avctx
->
codec_id
=
CODEC_ID_MPEG1VIDEO
;
avctx
->
sub_id
=
1
;
/* indicates mpeg1 */
avctx
->
sub_id
=
1
;
/* indicates mpeg1 */
if
(
s
->
flags
&
CODEC_FLAG_LOW_DELAY
)
s
->
low_delay
=
1
;
if
(
s
->
flags
&
CODEC_FLAG_LOW_DELAY
)
s
->
low_delay
=
1
;
...
@@ -2547,6 +2548,7 @@ static int vcr2_init_sequence(AVCodecContext *avctx)
...
@@ -2547,6 +2548,7 @@ static int vcr2_init_sequence(AVCodecContext *avctx)
s
->
progressive_frame
=
1
;
s
->
progressive_frame
=
1
;
s
->
picture_structure
=
PICT_FRAME
;
s
->
picture_structure
=
PICT_FRAME
;
s
->
frame_pred_frame_dct
=
1
;
s
->
frame_pred_frame_dct
=
1
;
s
->
chroma_format
=
1
;
s
->
codec_id
=
s
->
avctx
->
codec_id
=
CODEC_ID_MPEG2VIDEO
;
s
->
codec_id
=
s
->
avctx
->
codec_id
=
CODEC_ID_MPEG2VIDEO
;
avctx
->
sub_id
=
2
;
/* indicates mpeg2 */
avctx
->
sub_id
=
2
;
/* indicates mpeg2 */
return
0
;
return
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