aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2024-05-03 00:10:01 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2024-05-03 02:35:50 +0200
commit69b4d9736b0d0ad01c41fcae2d66eaa534b76969 (patch)
tree545ddcf5196d72e9353c23dd28732784237a1dec
parentfd7d24fa3f39fc1013fb0d06b42c98b8ff1f8942 (diff)
downloadffmpeg-69b4d9736b0d0ad01c41fcae2d66eaa534b76969.tar.gz
avcodec/av1dec: Change bit_depth to int
Suggested-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/av1dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c
index 2666134f67..79a87f41c9 100644
--- a/libavcodec/av1dec.c
+++ b/libavcodec/av1dec.c
@@ -469,7 +469,7 @@ static int get_tiles_info(AVCodecContext *avctx, const AV1RawTileGroup *tile_gro
static enum AVPixelFormat get_sw_pixel_format(void *logctx,
const AV1RawSequenceHeader *seq)
{
- uint8_t bit_depth;
+ int bit_depth;
enum AVPixelFormat pix_fmt = AV_PIX_FMT_NONE;
if (seq->seq_profile == 2 && seq->color_config.high_bitdepth)