Go to the source code of this file.
◆ case_n
Value: while (n_frames--) { \
unsigned sz = rd; \
if (sz == 0 || sz >
size) { \
s->n_frames = 0; \
"Invalid superframe packet size: %u frame size: %d\n", \
return full_size; \
} \
if (first) { \
first = 0; \
s->n_frames = n_frames; \
} else { \
s->size[n_frames] = sz; \
} \
data += sz; \
size -= sz; \
} \
return
s->n_frames > 0 ? *
out_size : full_size
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
Referenced by parse().
◆ parse_frame()
◆ parse()
◆ ff_vp9_parser
Initial value:= {
}
static int parse(AVCodecParserContext *ctx, AVCodecContext *avctx, const uint8_t **out_data, int *out_size, const uint8_t *data, int size)
Definition at line 169 of file vp9_parser.c.