summaryrefslogtreecommitdiff
path: root/vpxdec.c
diff options
context:
space:
mode:
authorAdrian Grange <agrange@google.com>2014-01-22 09:36:07 -0800
committerAdrian Grange <agrange@google.com>2014-01-22 09:59:01 -0800
commit82f6af600952f8924b3fd56e1f6296a74816c2c2 (patch)
tree170ac6dbff979e088d76d1974dda599bab8ff35b /vpxdec.c
parent73b7405a9063e09e76ac17645592e0b7a8292a1e (diff)
downloadlibvpx-82f6af600952f8924b3fd56e1f6296a74816c2c2.tar.gz
libvpx-82f6af600952f8924b3fd56e1f6296a74816c2c2.tar.bz2
libvpx-82f6af600952f8924b3fd56e1f6296a74816c2c2.zip
Tidy up comments & remove commented out code.
Change-Id: I46dd5ce06f36362c6274511cd1531d93926aa9bc
Diffstat (limited to 'vpxdec.c')
-rw-r--r--vpxdec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vpxdec.c b/vpxdec.c
index c067609c4..6581f136d 100644
--- a/vpxdec.c
+++ b/vpxdec.c
@@ -861,7 +861,8 @@ int main_loop(int argc, const char **argv_) {
// If the output frames are to be scaled to a fixed display size then
// use the width and height specified in the container. If either of
// these is set to 0, use the display size set in the first frame
- // header.
+ // header. If that is unavailable, use the raw decoded size of the
+ // first decoded frame.
int display_width = vpx_input_ctx.width;
int display_height = vpx_input_ctx.height;
if (!display_width || !display_height) {