diff options
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index 6af38720c8..10fbd9b51b 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -373,8 +373,14 @@ struct AVStreamInternal { * Number of packets to buffer for codec probing */ int probe_packets; + + /* av_read_frame() support */ + enum AVStreamParseType need_parsing; + struct AVCodecParserContext *parser; }; +void avpriv_stream_set_need_parsing(AVStream *st, enum AVStreamParseType type); + #ifdef __GNUC__ #define dynarray_add(tab, nb_ptr, elem)\ do {\ |