Commit 3160bdc7 authored by Diego Biurrun's avatar Diego Biurrun

huffyuv: Use avpriv_report_missing_feature() where appropriate

parent b7616f57
...@@ -530,9 +530,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, ...@@ -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][1] = get_bits(&s->gb, 8);
p->data[0][0] = get_bits(&s->gb, 8); p->data[0][0] = get_bits(&s->gb, 8);
av_log(avctx, AV_LOG_ERROR, avpriv_report_missing_feature(avctx, "YUY2 output");
"YUY2 output is not implemented yet\n"); return AVERROR_PATCHWELCOME;
return -1;
} else { } else {
leftv = leftv =
p->data[2][0] = get_bits(&s->gb, 8); p->data[2][0] = get_bits(&s->gb, 8);
...@@ -735,9 +734,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, ...@@ -735,9 +734,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
"prediction type not supported!\n"); "prediction type not supported!\n");
} }
} else { } else {
av_log(avctx, AV_LOG_ERROR, avpriv_report_missing_feature(avctx, "BGR24 output");
"BGR24 output is not implemented yet\n"); return AVERROR_PATCHWELCOME;
return -1;
} }
} }
emms_c(); emms_c();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment