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
2ceff404
Commit
2ceff404
authored
Dec 19, 2005
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
forgot
Originally committed as revision 4756 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
0888fd22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mpegvideo.c
libavcodec/mpegvideo.c
+2
-1
No files found.
libavcodec/mpegvideo.c
View file @
2ceff404
...
...
@@ -1115,10 +1115,11 @@ int MPV_encode_init(AVCodecContext *avctx)
s
->
rtp_mode
=
1
;
break
;
case
CODEC_ID_LJPEG
:
case
CODEC_ID_JPEGLS
:
case
CODEC_ID_MJPEG
:
s
->
out_format
=
FMT_MJPEG
;
s
->
intra_only
=
1
;
/* force intra only for jpeg */
s
->
mjpeg_write_tables
=
1
;
/* write all tables */
s
->
mjpeg_write_tables
=
avctx
->
codec
->
id
!=
CODEC_ID_JPEGLS
;
s
->
mjpeg_data_only_frames
=
0
;
/* write all the needed headers */
s
->
mjpeg_vsample
[
0
]
=
1
<<
chroma_v_shift
;
s
->
mjpeg_vsample
[
1
]
=
1
;
...
...
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