1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

dpx: invalid aspect ratio is 0/1, not 0/0.

This commit is contained in:
Nicolas George 2012-07-09 09:13:21 +02:00
parent acf0283925
commit 0abab00303

View File

@ -114,7 +114,7 @@ static int decode_frame(AVCodecContext *avctx,
avctx->sample_aspect_ratio.num, avctx->sample_aspect_ratio.den,
0x10000);
else
avctx->sample_aspect_ratio = (AVRational){ 0, 0 };
avctx->sample_aspect_ratio = (AVRational){ 0, 1 };
switch (descriptor) {
case 51: // RGBA