]> granicus.if.org Git - libvpx/commit
Revert "Removing this_frame_stats member from TWO_PASS struct."
authorAdrian Grange <agrange@google.com>
Fri, 6 Jun 2014 17:37:22 +0000 (10:37 -0700)
committerAdrian Grange <agrange@google.com>
Fri, 6 Jun 2014 19:51:56 +0000 (12:51 -0700)
commita4f747921ae9b0a11dc032ebc3a6364d2f6dd8b9
tree7659b0ac0acc6d3365c6c51cfc6cdc460d4e8ca1
parent3f95a230c7e54104201b3f6c577dfa9251b4642a
Revert "Removing this_frame_stats member from TWO_PASS struct."

Use of stack frame variable "fps" beyond the lifetime of the function.

fps is sent as a paremeter to output_stats and stored in the
packet holding this encoded frame. This has scope beyond the
lifetime of the calling function.

This reverts commit 3f95a230c7e54104201b3f6c577dfa9251b4642a

Change-Id: Icd8e14b3d7dd733590ada12e619b9dce95b6b0f5
vp9/encoder/vp9_firstpass.c
vp9/encoder/vp9_firstpass.h