]> granicus.if.org Git - libvpx/commitdiff
Remove unnecessary border extension when frame size change.
authorhkuang <hkuang@google.com>
Tue, 10 Feb 2015 22:55:27 +0000 (14:55 -0800)
committerhkuang <hkuang@google.com>
Tue, 10 Feb 2015 22:55:27 +0000 (14:55 -0800)
This border extension is not needed with on-demond border extension.

Change-Id: I8501b37f5f756dc7e874cef4c1cfdbfa9a16112a

vp9/decoder/vp9_decodeframe.c

index 1d0d8f6f9f1ab917f306b9634c1b32e5a21dd9dc..1faaf8f1cfeb4fb86c99d50a0ad4fa59ce85cf66 100644 (file)
@@ -1432,8 +1432,6 @@ static size_t read_uncompressed_header(VP9Decoder *pbi,
                                           ref_buf->buf->y_crop_height,
                                           cm->width, cm->height);
 #endif
-        if (vp9_is_scaled(&ref_buf->sf))
-          vp9_extend_frame_borders(ref_buf->buf);
       }
     }
   }