diff --git a/libarmbox/video.cpp b/libarmbox/video.cpp index 1b47e34..439eace 100644 --- a/libarmbox/video.cpp +++ b/libarmbox/video.cpp @@ -412,7 +412,7 @@ int cVideo::getAspectRatio(void) { /* in movieplayer mode, fd is not opened -> fall back to procfs */ int n = proc_get_hex(VMPEG_aspect[devnum]); - return n * 2 + 1; + return n; } if (fop(ioctl, VIDEO_GET_SIZE, &s) < 0) {