]> granicus.if.org Git - libvpx/commit
Correct a for loop in init_ref_frame_bufs.
authorWan-Teh Chang <wtc@google.com>
Mon, 8 Oct 2018 17:03:06 +0000 (10:03 -0700)
committerWan-Teh Chang <wtc@google.com>
Mon, 8 Oct 2018 17:09:26 +0000 (10:09 -0700)
commit51a47b0c723aba3f75315d760afe767b08a37cb9
treedac66097a37053d80d0b02df4bacbeb6678a113a
parentecc31d28781c490f5fb18a3e6873692a1b8e6cea
Correct a for loop in init_ref_frame_bufs.

The cm->ref_frame_map and pool->frame_bufs arrays are of different sizes
(REF_FRAMES and FRAME_BUFFERS, respectively), so init_ref_frame_bufs()
cannot iterate over these two arrays using the same for loop.

Change-Id: Ica5bbd9d0c30ea3d089ad2d4bcf6cd8ae2daea64
vp9/encoder/vp9_encoder.c