diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-08-03 11:02:22 -0700 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-08-03 15:18:58 -0700 |
commit | 3160bdc7f7bc27bb67561270b4e730cd2d844afd (patch) | |
tree | f874cf05af3ac518ca55ecb2974ccdc424a7d6b3 /libavcodec | |
parent | b7616f5716dce68c749d5dfeab19cf595a11807c (diff) | |
download | ffmpeg-streaming-3160bdc7f7bc27bb67561270b4e730cd2d844afd.zip ffmpeg-streaming-3160bdc7f7bc27bb67561270b4e730cd2d844afd.tar.gz |
huffyuv: Use avpriv_report_missing_feature() where appropriate
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/huffyuvdec.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libavcodec/huffyuvdec.c b/libavcodec/huffyuvdec.c index b2fc3aa..ebde3ca 100644 --- a/libavcodec/huffyuvdec.c +++ b/libavcodec/huffyuvdec.c @@ -530,9 +530,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, p->data[0][1] = get_bits(&s->gb, 8); p->data[0][0] = get_bits(&s->gb, 8); - av_log(avctx, AV_LOG_ERROR, - "YUY2 output is not implemented yet\n"); - return -1; + avpriv_report_missing_feature(avctx, "YUY2 output"); + return AVERROR_PATCHWELCOME; } else { leftv = p->data[2][0] = get_bits(&s->gb, 8); @@ -735,9 +734,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, "prediction type not supported!\n"); } } else { - av_log(avctx, AV_LOG_ERROR, - "BGR24 output is not implemented yet\n"); - return -1; + avpriv_report_missing_feature(avctx, "BGR24 output"); + return AVERROR_PATCHWELCOME; } } emms_c(); |