[FFmpeg-cvslog] dpx: invalid aspect ratio is 0/1, not 0/0.
Nicolas George
git at videolan.org
Tue Jul 10 14:44:55 CEST 2012
ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Mon Jul 9 09:13:21 2012 +0200| [0abab003034145a33077a613807165055013030a] | committer: Nicolas George
dpx: invalid aspect ratio is 0/1, not 0/0.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0abab003034145a33077a613807165055013030a
---
libavcodec/dpx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c
index cbddfa4..6ef2db2 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
More information about the ffmpeg-cvslog
mailing list