OSDN Git Service

Read match time delta in the frame header.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 13 Feb 2008 20:17:28 +0000 (20:17 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 13 Feb 2008 20:17:28 +0000 (20:17 +0000)
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

libavformat/nutdec.c

index b114e40..ce3746e 100644 (file)
@@ -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++)