34 if (
AV_RB32(p->buf) != 0x616a6b67)
59 if (internal_ftype != 2 && internal_ftype != 3 && internal_ftype != 5)
63 if (blocksize < 1 || blocksize > 65535)
73 .p.extensions =
"shn",
static int init_get_bits8(GetBitContext *s, const uint8_t *buffer, int byte_size)
Initialize GetBitContext.
static unsigned int get_ur_golomb_shorten(GetBitContext *gb, int k)
read unsigned golomb rice code (shorten).
#define AV_INPUT_BUFFER_PADDING_SIZE
Required number of additionally allocated bytes at the end of the input bitstream for decoding.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static int shn_probe(const AVProbeData *p)
This structure contains the data a format has to probe a file.