summaryrefslogtreecommitdiff
path: root/libavcodec/flashsv.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-03-13 21:18:34 +0100
committerDiego Biurrun <diego@biurrun.de>2013-03-13 21:20:12 +0100
commit12e25ed284592b32c954d471e9b7b1e5a0dbf18d (patch)
tree4653146a75530613167c1ff5b4f21ce38eb448a5 /libavcodec/flashsv.c
parent6d97484d72e33f7dde9493a9ead1a72e2f029605 (diff)
avcodec: av_log_missing_feature(1) ---> avpriv_request_sample()
Diffstat (limited to 'libavcodec/flashsv.c')
-rw-r--r--libavcodec/flashsv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c
index 26b42e5442..2fbe221bfa 100644
--- a/libavcodec/flashsv.c
+++ b/libavcodec/flashsv.c
@@ -259,11 +259,11 @@ static int flashsv_decode_frame(AVCodecContext *avctx, void *data,
if (s->ver == 2) {
skip_bits(&gb, 6);
if (get_bits1(&gb)) {
- av_log_missing_feature(avctx, "iframe", 1);
+ avpriv_request_sample(avctx, "iframe");
return AVERROR_PATCHWELCOME;
}
if (get_bits1(&gb)) {
- av_log_missing_feature(avctx, "Custom palette", 1);
+ avpriv_request_sample(avctx, "Custom palette");
return AVERROR_PATCHWELCOME;
}
}
@@ -394,7 +394,7 @@ static int flashsv_decode_frame(AVCodecContext *avctx, void *data,
int row = get_bits(&gb, 8);
av_log(avctx, AV_LOG_DEBUG, "%dx%d zlibprime_curr %dx%d\n", i, j, col, row);
size -= 2;
- av_log_missing_feature(avctx, "zlibprime_curr", 1);
+ avpriv_request_sample(avctx, "zlibprime_curr");
return AVERROR_PATCHWELCOME;
}
if (!s->blocks && (s->zlibprime_curr || s->zlibprime_prev)) {