Commit f3ce748d authored by Niobos's avatar Niobos Committed by Michael Niedermayer

MJPEG encoder to write aspect ratio information

parent a0db7424
......@@ -156,7 +156,7 @@ static void jpeg_put_comments(MpegEncContext *s)
int size;
uint8_t *ptr;
if (s->aspect_ratio_info /* && !lossless */)
if (s->avctx->sample_aspect_ratio.num /* && !lossless */)
{
/* JFIF header */
put_marker(p, APP0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment