diff options
author | James Almer <jamrial@gmail.com> | 2017-03-23 16:52:42 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-03-23 16:52:42 -0300 |
commit | 1c193ac1f9cfe703d6a1c36795f309ba5d14bf6e (patch) | |
tree | 81c545f9b9c53ebc4fbadd14a1cd4afc5099e659 /libavformat/internal.h | |
parent | 7ebc9f8df4035ecaa84ad4429480986e3e7597ae (diff) | |
parent | 8e2ea691351c5079cdab245ff7bfa5c0f3e3bfe4 (diff) | |
download | ffmpeg-1c193ac1f9cfe703d6a1c36795f309ba5d14bf6e.tar.gz |
Merge commit '8e2ea691351c5079cdab245ff7bfa5c0f3e3bfe4'
* commit '8e2ea691351c5079cdab245ff7bfa5c0f3e3bfe4':
lavf: use the new bitstream filter for extracting extradata
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index 63a1724cfa..c856945ce9 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -178,6 +178,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; + /** * Whether the internal avctx needs to be updated from codecpar (after a late change to codecpar) */ |