Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-07-09 11:13:21 +0400
committerNicolas George <nicolas.george@normalesup.org>2012-07-10 16:34:04 +0400
commit0abab003034145a33077a613807165055013030a (patch)
tree36ba354dfd9b157d1817a4362f601e6e1b1c3fe8 /libavcodec/dpx.c
parentacf0283925151bdfa135e934cf6e3c351b2adf75 (diff)
dpx: invalid aspect ratio is 0/1, not 0/0.
Diffstat (limited to 'libavcodec/dpx.c')
-rw-r--r--libavcodec/dpx.c2
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