[MPlayer-cvslog] CVS: main/libmpdemux demux_mov.c,1.115,1.116

Roberto Togni CVS syncmail at mplayerhq.hu
Sun Mar 6 18:55:33 CET 2005


CVS change done by Roberto Togni CVS

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

Modified Files:
	demux_mov.c 
Log Message:
alac support via lavc decoder


Index: demux_mov.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mov.c,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -r1.115 -r1.116
--- demux_mov.c	1 Mar 2005 20:16:49 -0000	1.115
+++ demux_mov.c	6 Mar 2005 17:55:31 -0000	1.116
@@ -988,6 +988,15 @@
 #endif			  
 			}
 		      } break;
+		      case MOV_FOURCC('a','l','a','c'): {
+			mp_msg(MSGT_DEMUX, MSGL_INFO, "MOV: Found alac atom (%d)!\n", atom_len);
+			if(atom_len > 8) {
+			    // copy all the atom (not only payload) for lavc alac decoder
+			    sh->codecdata_len = atom_len;
+			    sh->codecdata = (unsigned char *)malloc(sh->codecdata_len);
+			    memcpy(sh->codecdata, &trak->stdata[28], sh->codecdata_len);
+			}
+		      } break;
 		      default:
 			mp_msg(MSGT_DEMUX, MSGL_INFO, "MOV: Found unknown audio atom %c%c%c%c (%d)!\n",
 			    trak->stdata[32+adjust],trak->stdata[33+adjust],trak->stdata[34+adjust],trak->stdata[35+adjust],




More information about the MPlayer-cvslog mailing list