diff options
author | William Yu <genwillyu@gmail.com> | 2011-06-14 17:16:51 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-06-15 01:16:58 +0200 |
commit | b19313218c32fa9446d474cbddb11c0776868cd3 (patch) | |
tree | 0e44fefbf3c9f6efcf3d1f0d66d07c228d66e3cd /libavcodec/mjpegenc.c | |
parent | 4ac5dffc5a4daf315fb908ec689366e179a59ad3 (diff) | |
download | ffmpeg-b19313218c32fa9446d474cbddb11c0776868cd3.tar.gz |
mjpegenc: Fix JFIF version
Diffstat (limited to 'libavcodec/mjpegenc.c')
-rw-r--r-- | libavcodec/mjpegenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c index db477a0ab6..b721ab3580 100644 --- a/libavcodec/mjpegenc.c +++ b/libavcodec/mjpegenc.c @@ -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); |