summaryrefslogtreecommitdiff
path: root/vpxdec.c
diff options
context:
space:
mode:
authorAdrian Grange <agrange@google.com>2014-01-22 11:14:07 -0800
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2014-01-22 11:14:07 -0800
commita858c5c227de6aef8af519386c326a866b397cd0 (patch)
tree8857a234e815b325e61f920f4be1ea26b9514403 /vpxdec.c
parent4e9dc6d45d6d1e4adbc5cdba5d7cd0f667b1b85d (diff)
parent82f6af600952f8924b3fd56e1f6296a74816c2c2 (diff)
downloadlibvpx-a858c5c227de6aef8af519386c326a866b397cd0.tar.gz
libvpx-a858c5c227de6aef8af519386c326a866b397cd0.tar.bz2
libvpx-a858c5c227de6aef8af519386c326a866b397cd0.zip
Merge "Tidy up comments & remove commented out code."
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) {