avcodec/av1dec: Change bit_depth to int

Suggested-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
release/7.1
Michael Niedermayer 7 months ago
parent fd7d24fa3f
commit 69b4d9736b
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64
  1. 2
      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, static enum AVPixelFormat get_sw_pixel_format(void *logctx,
const AV1RawSequenceHeader *seq) const AV1RawSequenceHeader *seq)
{ {
uint8_t bit_depth; int bit_depth;
enum AVPixelFormat pix_fmt = AV_PIX_FMT_NONE; enum AVPixelFormat pix_fmt = AV_PIX_FMT_NONE;
if (seq->seq_profile == 2 && seq->color_config.high_bitdepth) if (seq->seq_profile == 2 && seq->color_config.high_bitdepth)

Loading…
Cancel
Save