diff options
author | Scott LaVarnway <slavarnway@google.com> | 2013-06-05 14:45:08 -0400 |
---|---|---|
committer | Gerrit Code Review <gerrit@gerrit.golo.chromium.org> | 2013-06-05 12:04:19 -0700 |
commit | ec34afd1b0bc5ffe4679fd18e9d8982643a3380e (patch) | |
tree | 9b20221fd249e39d0eded3a006424e039bfd4d1d /vp8/encoder | |
parent | b71542dc13ea959ed2b42dab6ee9dfbb3444e274 (diff) | |
download | libvpx-ec34afd1b0bc5ffe4679fd18e9d8982643a3380e.tar libvpx-ec34afd1b0bc5ffe4679fd18e9d8982643a3380e.tar.gz libvpx-ec34afd1b0bc5ffe4679fd18e9d8982643a3380e.tar.bz2 libvpx-ec34afd1b0bc5ffe4679fd18e9d8982643a3380e.zip |
Fixed crash in VP8/CQTest
If the codec was configured with --enable-internal-stats,
a seg fault would occur. This patch fixes the problem.
Change-Id: Id10a577973d185e93037c59e5b36bebdded327da
Diffstat (limited to 'vp8/encoder')
-rw-r--r-- | vp8/encoder/onyx_if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index 0892b06e9..3432f02ad 100644 --- a/vp8/encoder/onyx_if.c +++ b/vp8/encoder/onyx_if.c @@ -5254,7 +5254,7 @@ int vp8_get_compressed_data(VP8_COMP *cpi, unsigned int *frame_flags, unsigned l if (cm->show_frame) { - + cpi->common.show_frame_mi = cpi->common.mi; cpi->count ++; if (cpi->b_calculate_psnr) |