OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0db742
)
MJPEG encoder to write aspect ratio information
author
Niobos
<niobos@dest-unreach.be>
Thu, 28 Apr 2011 18:23:19 +0000
(20:23 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 28 Apr 2011 18:39:49 +0000
(20:39 +0200)
libavcodec/mjpegenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/mjpegenc.c
b/libavcodec/mjpegenc.c
index
15b588c
..
db477a0
100644
(file)
--- a/
libavcodec/mjpegenc.c
+++ b/
libavcodec/mjpegenc.c
@@
-156,7
+156,7
@@
static void jpeg_put_comments(MpegEncContext *s)
int size;
uint8_t *ptr;
- if (s->a
spect_ratio_info
/* && !lossless */)
+ if (s->a
vctx->sample_aspect_ratio.num
/* && !lossless */)
{
/* JFIF header */
put_marker(p, APP0);