summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-08-04 22:46:13 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-08-04 22:46:13 +0000
commit82583548496de830aafeb8264a7b0c56e0d5b600 (patch)
tree0cbcc17af74d32de039cf25a7a01b5ecd87bff39 /libavformat/avformat.h
parent3bbb0bf82c860b5841ae5b2a7cd7894246860482 (diff)
correct initial timestamps which have AV_NOPTS_VALUE
Originally committed as revision 9917 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index cfd4effbb7..e50fe64375 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -280,9 +280,10 @@ typedef struct AVStream {
*/
AVRational r_frame_rate;
void *priv_data;
-#if LIBAVFORMAT_VERSION_INT < (52<<16)
+
/* internal data used in av_find_stream_info() */
- int64_t codec_info_duration;
+ int64_t first_dts;
+#if LIBAVFORMAT_VERSION_INT < (52<<16)
int codec_info_nb_frames;
#endif
/** encoding: PTS generation when outputing stream */