diff options
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index ed9893033a..c87d0ebde6 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -102,6 +102,22 @@ struct AVStreamInternal { * from dts. */ int reorder; + /** + * The codec context used by avformat_find_stream_info, the parser, etc. + */ + AVCodecContext *avctx; + /** + * 1 if avctx has been initialized with the values from the codec parameters + */ + int avctx_inited; + + enum AVCodecID orig_codec_id; + +#if FF_API_LAVF_AVCTX + // whether the deprecated stream codec context needs + // to be filled from the codec parameters + int need_codec_update; +#endif }; void ff_dynarray_add(intptr_t **tab_ptr, int *nb_ptr, intptr_t elem); |