Home
last modified time | relevance | path

Searched refs:parser_avctx (Results 1 - 2 of 2) sorted by relevance

/third_party/ffmpeg/tools/
H A Dtarget_dec_fuzzer.c307 AVCodecContext* parser_avctx = avcodec_alloc_context3(NULL); in LLVMFuzzerTestOneInput() local
308 if (!ctx || !parser_avctx) in LLVMFuzzerTestOneInput()
428 av_free(parser_avctx); in LLVMFuzzerTestOneInput()
433 parser_avctx->codec_id = ctx->codec_id; in LLVMFuzzerTestOneInput()
434 parser_avctx->extradata_size = ctx->extradata_size; in LLVMFuzzerTestOneInput()
435 parser_avctx->extradata = ctx->extradata ? av_memdup(ctx->extradata, ctx->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE) : NULL; in LLVMFuzzerTestOneInput()
469 int ret = av_parser_parse2(parser, parser_avctx, &avpkt->data, &avpkt->size, in LLVMFuzzerTestOneInput()
570 avcodec_free_context(&parser_avctx); in LLVMFuzzerTestOneInput()
/third_party/ffmpeg/libavformat/
H A Ddashenc.c107 AVCodecContext *parser_avctx; member
630 avcodec_free_context(&os->parser_avctx); in dash_free()
1566 os->parser_avctx = avcodec_alloc_context3(NULL); in dash_init()
1567 if (!os->parser_avctx) in dash_init()
1569 ret = avcodec_parameters_to_context(os->parser_avctx, st->codecpar); in dash_init()
2157 av_parser_parse2(os->parser, os->parser_avctx, in dash_write_packet()

Completed in 6 milliseconds