summaryrefslogtreecommitdiffstats
path: root/libavcodec/hevc_ps.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2016-11-10 08:22:26 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2016-11-10 08:22:26 +0100
commit08be65a07557686bd2f0a8b318145802d419e79b (patch)
tree8e050bcbf6cd0254f584c5ee8b056130e48e0528 /libavcodec/hevc_ps.c
parentedb8af6e92470586dea9d1303bbfecb677df05a3 (diff)
downloadffmpeg-streaming-08be65a07557686bd2f0a8b318145802d419e79b.zip
ffmpeg-streaming-08be65a07557686bd2f0a8b318145802d419e79b.tar.gz
lavc/hevc_ps: Fix an error message.
Diffstat (limited to 'libavcodec/hevc_ps.c')
-rw-r--r--libavcodec/hevc_ps.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c
index 5722316..ad3d5cd 100644
--- a/libavcodec/hevc_ps.c
+++ b/libavcodec/hevc_ps.c
@@ -803,9 +803,8 @@ static int map_pixel_format(AVCodecContext *avctx, HEVCSPS *sps)
break;
default:
av_log(avctx, AV_LOG_ERROR,
- "4:2:0, 4:2:2, 4:4:4 supports are currently specified for 8, 10 and 12 bits.\n");
- av_log(avctx, AV_LOG_ERROR,
- "chroma_format_idc is %d, depth is %d",
+ "The following bit-depths are currently specified: 8, 9, 10 and 12 bits, "
+ "chroma_format_idc is %d, depth is %d\n",
sps->chroma_format_idc, sps->bit_depth);
return AVERROR_INVALIDDATA;
}
OpenPOWER on IntegriCloud