mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-02 18:25:17 +00:00
huffyuv: Use avpriv_report_missing_feature() where appropriate
This commit is contained in:
parent
b7616f5716
commit
3160bdc7f7
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user