Unified · Split
| @@ -56,9 +56,9 @@ static int av1_parser_parse(AVCodecParserContext *ctx, · 55 unmodified lines | ||
| 56 | 56 | { |
| 57 | 57 | AV1ParseContext *s = ctx->priv_data; |
| 58 | 58 | CodedBitstreamFragment *td = &s->temporal_unit; |
| 59 | − CodedBitstreamAV1Context *av1 = s->cbc->priv_data; | |
| 60 | − AV1RawSequenceHeader *seq; | |
| 61 | − AV1RawColorConfig *color; | |
| 59 | + const CodedBitstreamAV1Context *av1 = s->cbc->priv_data; | |
| 60 | + const AV1RawSequenceHeader *seq; | |
| 61 | + const AV1RawColorConfig *color; | |
| 62 | 62 | int ret; |
| 63 | 63 | |
| 64 | 64 | *out_data = data; |
| @@ -96,9 +96,9 @@ static int av1_parser_parse(AVCodecParserContext *ctx, · 31 unmodified lines | ||
| 96 | 96 | color = &seq->color_config; |
| 97 | 97 | |
| 98 | 98 | for (int i = 0; i < td->nb_units; i++) { |
| 99 | − CodedBitstreamUnit *unit = &td->units[i]; | |
| 100 | − AV1RawOBU *obu = unit->content; | |
| 101 | − AV1RawFrameHeader *frame; | |
| 99 | + const CodedBitstreamUnit *unit = &td->units[i]; | |
| 100 | + const AV1RawOBU *obu = unit->content; | |
| 101 | + const AV1RawFrameHeader *frame; | |
| 102 | 102 | |
| 103 | 103 | if (unit->type == AV1_OBU_FRAME) |
| 104 | 104 | frame = &obu->obu.frame.header; |