Index: source/libvpx/vp8/encoder/onyx_if.c |
=================================================================== |
--- source/libvpx/vp8/encoder/onyx_if.c (revision 191025) |
+++ source/libvpx/vp8/encoder/onyx_if.c (working copy) |
@@ -2816,6 +2816,8 @@ |
if (cpi->common.refresh_alt_ref_frame) |
{ |
cpi->prob_intra_coded += 40; |
+ if (cpi->prob_intra_coded > 255) |
+ cpi->prob_intra_coded = 255; |
cpi->prob_last_coded = 200; |
cpi->prob_gf_coded = 1; |
} |