Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-12-16 20:01:34 +0300
committerDiego Biurrun <diego@biurrun.de>2016-11-08 19:54:34 +0300
commit67deba8a416d818f3d95aef0aa916589090396e2 (patch)
treef8b114c5b54f8e478970bd21542897f0ea1c47a5 /libavcodec/g2meet.c
parent59d2b00d201935c16408a2917957d89a170fe58f (diff)
Use avpriv_report_missing_feature() where appropriate
Diffstat (limited to 'libavcodec/g2meet.c')
-rw-r--r--libavcodec/g2meet.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c
index a89610d6c3..7e90916274 100644
--- a/libavcodec/g2meet.c
+++ b/libavcodec/g2meet.c
@@ -1424,9 +1424,8 @@ static int g2m_decode_frame(AVCodecContext *avctx, void *data,
}
c->compression = bytestream2_get_be32(&bc);
if (c->compression != 2 && c->compression != 3) {
- av_log(avctx, AV_LOG_ERROR,
- "Unknown compression method %d\n",
- c->compression);
+ avpriv_report_missing_feature(avctx, "Compression method %d",
+ c->compression);
return AVERROR_PATCHWELCOME;
}
c->tile_width = bytestream2_get_be32(&bc);
@@ -1453,9 +1452,9 @@ static int g2m_decode_frame(AVCodecContext *avctx, void *data,
g_mask = bytestream2_get_be32(&bc);
b_mask = bytestream2_get_be32(&bc);
if (r_mask != 0xFF0000 || g_mask != 0xFF00 || b_mask != 0xFF) {
- av_log(avctx, AV_LOG_ERROR,
- "Invalid or unsupported bitmasks: R=%"PRIX32", G=%"PRIX32", B=%"PRIX32"\n",
- r_mask, g_mask, b_mask);
+ avpriv_report_missing_feature(avctx,
+ "Bitmasks: R=%"PRIX32", G=%"PRIX32", B=%"PRIX32,
+ r_mask, g_mask, b_mask);
return AVERROR_PATCHWELCOME;
}
} else {