summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-06-27 00:37:43 +0000
committerMåns Rullgård <mans@mansr.com>2010-06-27 00:37:43 +0000
commit92a544267bc88e8008d35b70a086b683daed0e2b (patch)
tree1dffa3db9c6af0f565bd14a73944ecb8b62255d0 /libavcodec
parent2829ce4b402a2be9d4c01982ffd29cab6be8e09a (diff)
downloadffmpeg-streaming-92a544267bc88e8008d35b70a086b683daed0e2b.zip
ffmpeg-streaming-92a544267bc88e8008d35b70a086b683daed0e2b.tar.gz
vp8: warn and request sample if upscaling specified in header
Originally committed as revision 23809 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vp8.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index b7c60f9..f7163f4 100644
--- a/libavcodec/vp8.c
+++ b/libavcodec/vp8.c
@@ -399,6 +399,9 @@ static int decode_frame_header(VP8Context *s, const uint8_t *buf, int buf_size)
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));
OpenPOWER on IntegriCloud