summaryrefslogtreecommitdiff
path: root/libavformat/nutdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-13 20:17:28 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-13 20:17:28 +0000
commit7eeebcc5deaf83f688585fdc2f5525f45b552e05 (patch)
tree445d5b82ae3ddadee18ff0ba6bbde1932d9cccee /libavformat/nutdec.c
parent6cb4b28fea4ea1b2142536f4521916245f5663ff (diff)
Read match time delta in the frame header.
We do not do anything with it as lavf does not really support it yet. Originally committed as revision 11931 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nutdec.c')
-rw-r--r--libavformat/nutdec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index b114e40de2..ce3746e5fd 100644
--- a/libavformat/nutdec.c
+++ b/libavformat/nutdec.c
@@ -630,6 +630,8 @@ static int decode_frame_header(NUTContext *nut, int64_t *pts, int *stream_id, in
if(flags&FLAG_SIZE_MSB){
size += size_mul*ff_get_v(bc);
}
+ if(flags&FLAG_MATCH_TIME)
+ get_s(bc);
if(flags&FLAG_RESERVED)
reserved_count= ff_get_v(bc);
for(i=0; i<reserved_count; i++)