# HG changeset patch # User mru # Date 1277599063 0 # Node ID c7953ee47af4ed18ce9c7df5ac716304721b926a # Parent 3cd4cd0509cdc733f3370907d6f323a865d856a3 vp8: warn and request sample if upscaling specified in header diff -r 3cd4cd0509cd -r c7953ee47af4 vp8.c --- a/vp8.c Sat Jun 26 22:23:35 2010 +0000 +++ b/vp8.c Sun Jun 27 00:37:43 2010 +0000 @@ -399,6 +399,9 @@ buf += 7; buf_size -= 7; + if (hscale || vscale) + av_log_missing_feature(s->avctx, "Upscaling", 1); + s->update_golden = s->update_altref = VP56_FRAME_CURRENT; memcpy(s->prob->token , vp8_token_default_probs , sizeof(s->prob->token)); memcpy(s->prob->pred16x16, vp8_pred16x16_prob_inter, sizeof(s->prob->pred16x16));