mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
mjpegenc: Fix JFIF version
This commit is contained in:
parent
4ac5dffc5a
commit
b19313218c
@ -162,7 +162,7 @@ static void jpeg_put_comments(MpegEncContext *s)
|
||||
put_marker(p, APP0);
|
||||
put_bits(p, 16, 16);
|
||||
ff_put_string(p, "JFIF", 1); /* this puts the trailing zero-byte too */
|
||||
put_bits(p, 16, 0x0201); /* v 1.02 */
|
||||
put_bits(p, 16, 0x0102); /* v 1.02 */
|
||||
put_bits(p, 8, 0); /* units type: 0 - aspect ratio */
|
||||
put_bits(p, 16, s->avctx->sample_aspect_ratio.num);
|
||||
put_bits(p, 16, s->avctx->sample_aspect_ratio.den);
|
||||
|
Loading…
Reference in New Issue
Block a user