diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-07-09 09:13:21 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-07-10 14:34:04 +0200 |
commit | 0abab003034145a33077a613807165055013030a (patch) | |
tree | 36ba354dfd9b157d1817a4362f601e6e1b1c3fe8 /libavcodec/dpx.c | |
parent | acf0283925151bdfa135e934cf6e3c351b2adf75 (diff) | |
download | ffmpeg-0abab003034145a33077a613807165055013030a.tar.gz |
dpx: invalid aspect ratio is 0/1, not 0/0.
Diffstat (limited to 'libavcodec/dpx.c')
-rw-r--r-- | libavcodec/dpx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c index cbddfa4043..6ef2db2299 100644 --- a/libavcodec/dpx.c +++ b/libavcodec/dpx.c @@ -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 |