aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dpx.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-07-09 09:13:21 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-07-10 14:34:04 +0200
commit0abab003034145a33077a613807165055013030a (patch)
tree36ba354dfd9b157d1817a4362f601e6e1b1c3fe8 /libavcodec/dpx.c
parentacf0283925151bdfa135e934cf6e3c351b2adf75 (diff)
downloadandroid_external_ffmpeg-0abab003034145a33077a613807165055013030a.tar.gz
android_external_ffmpeg-0abab003034145a33077a613807165055013030a.tar.bz2
android_external_ffmpeg-0abab003034145a33077a613807165055013030a.zip
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