summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/ffmpeg/libavcodec/cpia.c
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/ffmpeg/libavcodec/cpia.c')
-rw-r--r--chromium/third_party/ffmpeg/libavcodec/cpia.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/third_party/ffmpeg/libavcodec/cpia.c b/chromium/third_party/ffmpeg/libavcodec/cpia.c
index 44226fb46bb..9036cb37fca 100644
--- a/chromium/third_party/ffmpeg/libavcodec/cpia.c
+++ b/chromium/third_party/ffmpeg/libavcodec/cpia.c
@@ -76,15 +76,15 @@ static int cpia_decode_frame(AVCodecContext *avctx,
// currently unsupported properties
if (header[17] == SUBSAMPLE_422) {
- av_log(avctx, AV_LOG_ERROR, "Unsupported subsample!\n");
+ avpriv_report_missing_feature(avctx, "4:2:2 subsampling");
return AVERROR_PATCHWELCOME;
}
if (header[18] == YUVORDER_UYVY) {
- av_log(avctx, AV_LOG_ERROR, "Unsupported YUV byte order!\n");
+ avpriv_report_missing_feature(avctx, "YUV byte order UYVY");
return AVERROR_PATCHWELCOME;
}
if (header[29] == DECIMATION_ENAB) {
- av_log(avctx, AV_LOG_ERROR, "Decimation unsupported!\n");
+ avpriv_report_missing_feature(avctx, "Decimation");
return AVERROR_PATCHWELCOME;
}
@@ -114,7 +114,7 @@ static int cpia_decode_frame(AVCodecContext *avctx,
if (src_size < linelength) {
av_frame_set_decode_error_flags(frame, FF_DECODE_ERROR_INVALID_BITSTREAM);
- av_log(avctx, AV_LOG_WARNING, "Frame ended enexpectedly!\n");
+ av_log(avctx, AV_LOG_WARNING, "Frame ended unexpectedly!\n");
break;
}
if (src[linelength - 1] != EOL) {