]> granicus.if.org Git - libvpx/commit
Fix a crash in vpxdec
authorJohn Koleszar <jkoleszar@google.com>
Fri, 7 Jun 2013 15:49:38 +0000 (08:49 -0700)
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>
Mon, 10 Jun 2013 19:46:14 +0000 (12:46 -0700)
commitc0e561d15e5b08fae575c539da275d31d3eb519b
treec8ec4bfe6c21fe72ea0376299095aa5bd6fdfa61
parent44db42c1142d9e893f0e07f3ac00d16b4c6c0532
Fix a crash in vpxdec

If the codec fails to return a frame on the second frame (as in a VP8 alt-ref,
then img will be a null pointer and dereferencing it while trying to write
the color format (again) will crash.

Change-Id: Ie48710d4c5715f532d453c879c71c20ccdeb81cc
vpxdec.c