mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +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,
|
avctx->sample_aspect_ratio.num, avctx->sample_aspect_ratio.den,
|
||||||
0x10000);
|
0x10000);
|
||||||
else
|
else
|
||||||
avctx->sample_aspect_ratio = (AVRational){ 0, 0 };
|
avctx->sample_aspect_ratio = (AVRational){ 0, 1 };
|
||||||
|
|
||||||
switch (descriptor) {
|
switch (descriptor) {
|
||||||
case 51: // RGBA
|
case 51: // RGBA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user