diff options
Diffstat (limited to 'vp9')
-rw-r--r-- | vp9/decoder/vp9_decoder.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vp9/decoder/vp9_decoder.c b/vp9/decoder/vp9_decoder.c index e32637b06..0343c214c 100644 --- a/vp9/decoder/vp9_decoder.c +++ b/vp9/decoder/vp9_decoder.c @@ -268,10 +268,7 @@ int vp9_receive_compressed_data(VP9Decoder *pbi, vp9_decode_frame(pbi, source, source + size, psource); - if (!cm->show_existing_frame) - swap_frame_buffers(pbi); - else - cm->frame_to_show = get_frame_new_buffer(cm); + swap_frame_buffers(pbi); vp9_clear_system_state(); |