diff options
author | hkuang <hkuang@google.com> | 2014-04-03 16:20:26 -0700 |
---|---|---|
committer | hkuang <hkuang@google.com> | 2014-04-03 16:20:26 -0700 |
commit | 272e030f70712cf67d93d360333136102c2159fa (patch) | |
tree | 44cc8264693d7098c0e9770d5190ea8f4a2e5907 /vp9/decoder | |
parent | 30a15633f8bd3d2ce54bced94f0be83b07ab43ef (diff) | |
download | libvpx-272e030f70712cf67d93d360333136102c2159fa.tar libvpx-272e030f70712cf67d93d360333136102c2159fa.tar.gz libvpx-272e030f70712cf67d93d360333136102c2159fa.tar.bz2 libvpx-272e030f70712cf67d93d360333136102c2159fa.zip |
Code clean up.
No need to check pbi->common.frame_to_show again.
Change-Id: I572ea4afd0d8b6000c0bb7575b7023d75cad5a4e
Diffstat (limited to 'vp9/decoder')
-rw-r--r-- | vp9/decoder/vp9_decoder.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/vp9/decoder/vp9_decoder.c b/vp9/decoder/vp9_decoder.c index c954a5d0e..b3e3f9c15 100644 --- a/vp9/decoder/vp9_decoder.c +++ b/vp9/decoder/vp9_decoder.c @@ -422,19 +422,12 @@ int vp9_get_raw_frame(VP9D_COMP *pbi, YV12_BUFFER_CONFIG *sd, #if CONFIG_VP9_POSTPROC ret = vp9_post_proc_frame(&pbi->common, sd, flags); #else - - if (pbi->common.frame_to_show) { *sd = *pbi->common.frame_to_show; sd->y_width = pbi->common.width; sd->y_height = pbi->common.height; sd->uv_width = sd->y_width >> pbi->common.subsampling_x; sd->uv_height = sd->y_height >> pbi->common.subsampling_y; - ret = 0; - } else { - ret = -1; - } - #endif /*!CONFIG_POSTPROC*/ vp9_clear_system_state(); return ret; |