[MPlayer-cvslog] CVS: main/libmpdemux mpeg_hdr.c,1.14,1.15

Loren Merritt CVS syncmail at mplayerhq.hu
Thu Jun 2 23:16:23 CEST 2005


CVS change done by Loren Merritt CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv5080

Modified Files:
	mpeg_hdr.c 
Log Message:
demux high profile H.264 ES


Index: mpeg_hdr.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/mpeg_hdr.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- mpeg_hdr.c	20 Apr 2005 15:17:08 -0000	1.14
+++ mpeg_hdr.c	2 Jun 2005 21:16:21 -0000	1.15
@@ -329,6 +329,16 @@
   picture->fps = picture->timeinc_unit = picture->timeinc_resolution = 0;
   n = 24;
   read_golomb(buf, &n);
+  if(buf[0] >= 100){
+    if(read_golomb(buf, &n) == 3)
+      n++;
+    read_golomb(buf, &n);
+    read_golomb(buf, &n);
+    n++;
+    if(getbits(buf, n++, 1)){
+      //FIXME scaling matrix
+    }
+  }
   read_golomb(buf, &n);
   v = read_golomb(buf, &n);
   if(v == 0)




More information about the MPlayer-cvslog mailing list