projects
/
profile
/
ivi
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
861175e
)
Remove a second check for invalid ptr in vp8_get_compressed_data
author
Attila Nagy
<attilanagy@google.com>
Fri, 25 Feb 2011 06:38:07 +0000
(08:38 +0200)
committer
Attila Nagy
<attilanagy@google.com>
Fri, 25 Feb 2011 06:41:13 +0000
(08:41 +0200)
Check is done first when function si entered.
Change-Id: Ief0d0cbd4860aaf492b78728f8d22f24029b1174
vp8/encoder/onyx_if.c
patch
|
blob
|
history
diff --git
a/vp8/encoder/onyx_if.c
b/vp8/encoder/onyx_if.c
index
f7c2c4a
..
4ac45b1
100644
(file)
--- a/
vp8/encoder/onyx_if.c
+++ b/
vp8/encoder/onyx_if.c
@@
-5227,23
+5227,6
@@
int vp8_get_compressed_data(VP8_PTR ptr, unsigned int *frame_flags, unsigned lon
if (cpi->compressor_speed == 2)
{
vp8_check_gf_quality(cpi);
- }
-
- if (!cpi)
- {
-#if HAVE_ARMV7
-#if CONFIG_RUNTIME_CPU_DETECT
- if (cm->rtcd.flags & HAS_NEON)
-#endif
- {
- vp8_pop_neon(store_reg);
- }
-#endif
- return 0;
- }
-
- if (cpi->compressor_speed == 2)
- {
vpx_usec_timer_start(&tsctimer);
vpx_usec_timer_start(&ticktimer);
}