X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ffprobe.c;h=4328b61f0eb72349f948ef7131794e7e2b2a3190;hb=67fe1a2b61a6d6723b3523c2bf698c6f48e8443a;hp=3e5324e36b93e28a5664d24dbad6ff18698703e9;hpb=540f2800980e63ebe2db97cec429c54cdec231a6;p=ffmpeg diff --git a/ffprobe.c b/ffprobe.c index 3e5324e36b9..4328b61f0eb 100644 --- a/ffprobe.c +++ b/ffprobe.c @@ -2722,7 +2722,7 @@ static void ffprobe_show_pixel_formats(WriterContext *w) for (i = 0; i < pixdesc->nb_components; i++) { writer_print_section_header(w, SECTION_ID_PIXEL_FORMAT_COMPONENT); print_int("index", i + 1); - print_int("bit_depth", pixdesc->comp[i].depth_minus1 + 1); + print_int("bit_depth", pixdesc->comp[i].depth); writer_print_section_footer(w); } writer_print_section_footer(w);