]> git.sesse.net Git - ffmpeg/blobdiff - ffprobe.c
avcodec/cscd: Use BGR0 instead of BGRA
[ffmpeg] / ffprobe.c
index 3e5324e36b93e28a5664d24dbad6ff18698703e9..4328b61f0eb72349f948ef7131794e7e2b2a3190 100644 (file)
--- 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);