Revision b9f9e59a libavformat/asfdec.c
libavformat/asfdec.c | ||
---|---|---|
639 | 639 |
av_reduce(&st->sample_aspect_ratio.num, |
640 | 640 |
&st->sample_aspect_ratio.den, |
641 | 641 |
dar[i].num, dar[i].den, INT_MAX); |
642 |
} else if ((dar[0].num > 0) && (dar[0].den > 0) && (st->codec->codec_type==CODEC_TYPE_VIDEO)) // Use ASF container value if the stream doesn't AR set.
|
|
642 |
} else if ((dar[0].num > 0) && (dar[0].den > 0) && (st->codec->codec_type==AVMEDIA_TYPE_VIDEO)) // Use ASF container value if the stream doesn't AR set.
|
|
643 | 643 |
av_reduce(&st->sample_aspect_ratio.num, |
644 | 644 |
&st->sample_aspect_ratio.den, |
645 | 645 |
dar[0].num, dar[0].den, INT_MAX); |
Also available in: Unified diff