[FFmpeg-cvslog] mjpegenc: Fix JFIF version
William Yu
git at videolan.org
Wed Jun 15 01:32:12 CEST 2011
ffmpeg | branch: master | William Yu <genwillyu at gmail.com> | Tue Jun 14 17:16:51 2011 +0200| [b19313218c32fa9446d474cbddb11c0776868cd3] | committer: Michael Niedermayer
mjpegenc: Fix JFIF version
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b19313218c32fa9446d474cbddb11c0776868cd3
---
libavcodec/mjpegenc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c
index db477a0..b721ab3 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);
More information about the ffmpeg-cvslog
mailing list