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:
parent
acf0283925
commit
0abab00303
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user