X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=blobdiff_plain;f=libavformat%2Finternal.h;h=52cd29b9b79b5f2c2be9db6ede6950afada49561;hp=de55af5af4d878514e7e323baf244e30b5e54445;hb=8e2ea691351c5079cdab245ff7bfa5c0f3e3bfe4;hpb=89b35a139e838deeb32ec20d8d034c81014401d0;ds=sidebyside diff --git a/libavformat/internal.h b/libavformat/internal.h index de55af5af4..52cd29b9b7 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -113,6 +113,15 @@ struct AVStreamInternal { enum AVCodecID orig_codec_id; + /* the context for extracting extradata in find_stream_info() + * inited=1/bsf=NULL signals that extracting is not possible (codec not + * supported) */ + struct { + AVBSFContext *bsf; + AVPacket *pkt; + int inited; + } extract_extradata; + #if FF_API_LAVF_AVCTX // whether the deprecated stream codec context needs // to be filled from the codec parameters