[FFmpeg-cvslog] lavc/hevc_ps: Fix an error message.

Carl Eugen Hoyos git at videolan.org
Thu Nov 10 09:24:07 EET 2016


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Thu Nov 10 08:22:26 2016 +0100| [08be65a07557686bd2f0a8b318145802d419e79b] | committer: Carl Eugen Hoyos

lavc/hevc_ps: Fix an error message.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=08be65a07557686bd2f0a8b318145802d419e79b
---

 libavcodec/hevc_ps.c | 5 ++---
 1 file 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;
     }



More information about the ffmpeg-cvslog mailing list