diff options
author | trav90 <travawine@palemoon.org> | 2018-10-19 23:00:02 -0500 |
---|---|---|
committer | trav90 <travawine@palemoon.org> | 2018-10-19 23:00:02 -0500 |
commit | 976f46a7d6d1954bdd5edbf1187c3da33ede57e2 (patch) | |
tree | 802b7de5ad245f1a12adbcef835ab0d0687c1bf8 /third_party/aom/examples/inspect.c | |
parent | 79bbd8cb6a3f3455d503d7bb356ff24eca4d1d96 (diff) | |
download | uxp-976f46a7d6d1954bdd5edbf1187c3da33ede57e2.tar.gz |
Update libaom to rev b25610052a1398032320008d69b51d2da94f5928
Diffstat (limited to 'third_party/aom/examples/inspect.c')
-rw-r--r-- | third_party/aom/examples/inspect.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/aom/examples/inspect.c b/third_party/aom/examples/inspect.c index 4887fc4a3d..9d5f0dcfc4 100644 --- a/third_party/aom/examples/inspect.c +++ b/third_party/aom/examples/inspect.c @@ -630,7 +630,9 @@ int read_frame() { die_codec(&codec, "Failed to decode frame."); } int got_any_frames = 0; - while ((img = aom_codec_get_frame(&codec, &iter))) { + aom_image_t *frame_img; + while ((frame_img = aom_codec_get_frame(&codec, &iter))) { + img = frame_img; ++frame_count; got_any_frames = 1; } |