diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-21 03:38:07 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-21 05:27:08 +0200 |
commit | f3743901d7df906342f99b179382b19d8a4d9716 (patch) | |
tree | 0af330362a4d6885ad96c30a63d35b44b87ede50 /libavformat/avformat.h | |
parent | 369cdf917aaa5d7fbc61d57f87e638772e806716 (diff) | |
download | ffmpeg-f3743901d7df906342f99b179382b19d8a4d9716.tar.gz |
avformat: Fix decoder search in find stream info
Fixes Ticket3548
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index a1185cafcb..7d2db6a3a0 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -891,6 +891,12 @@ typedef struct AVStream { double (*duration_error)[2][MAX_STD_TIMEBASES]; int64_t codec_info_duration; int64_t codec_info_duration_fields; + + /** + * 0 -> decoder has not been searched for yet. + * >0 -> decoder found + * <0 -> decoder with codec_id == -found_decoder has not been found + */ int found_decoder; int64_t last_duration; |