diff options
Diffstat (limited to 'libavcodec/av1_parser.c')
-rw-r--r-- | libavcodec/av1_parser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/av1_parser.c b/libavcodec/av1_parser.c index 036ab5e14e..cd426a2b0f 100644 --- a/libavcodec/av1_parser.c +++ b/libavcodec/av1_parser.c @@ -78,7 +78,7 @@ static int av1_parser_parse(AVCodecParserContext *ctx, av_log(avctx, AV_LOG_WARNING, "Failed to parse extradata.\n"); } - ff_cbs_fragment_reset(s->cbc, td); + ff_cbs_fragment_reset(td); } ret = ff_cbs_read(s->cbc, td, data, size); @@ -191,7 +191,7 @@ static int av1_parser_parse(AVCodecParserContext *ctx, avctx->time_base = av_inv_q(av_mul_q(avctx->framerate, (AVRational){avctx->ticks_per_frame, 1})); end: - ff_cbs_fragment_reset(s->cbc, td); + ff_cbs_fragment_reset(td); s->cbc->log_ctx = NULL; @@ -225,7 +225,7 @@ static void av1_parser_close(AVCodecParserContext *ctx) { AV1ParseContext *s = ctx->priv_data; - ff_cbs_fragment_free(s->cbc, &s->temporal_unit); + ff_cbs_fragment_free(&s->temporal_unit); ff_cbs_close(&s->cbc); } |