OSDN Git Service

hevc: Print the non-supported chroma_format_idc
authorLuca Barbato <lu_zero@gentoo.org>
Sun, 12 Jul 2015 22:48:49 +0000 (00:48 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 13 Jul 2015 19:59:53 +0000 (21:59 +0200)
And drop the spurious newline.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/hevc_ps.c

index 13fb31c..a5a2ace 100644 (file)
@@ -719,7 +719,8 @@ int ff_hevc_parse_sps(HEVCSPS *sps, GetBitContext *gb, unsigned int *sps_id,
 
     sps->chroma_format_idc = get_ue_golomb_long(gb);
     if (sps->chroma_format_idc != 1) {
-        avpriv_report_missing_feature(avctx, "chroma_format_idc != 1\n");
+        avpriv_report_missing_feature(avctx, "chroma_format_idc %d",
+                                      sps->chroma_format_idc);
         ret = AVERROR_PATCHWELCOME;
         goto err;
     }