[Mplayer-cvslog] CVS: main/libmpdemux demux_mov.c,1.70,1.71
Arpi of Ize
arpi at mplayerhq.hu
Mon Aug 5 20:22:16 CEST 2002
- Previous message: [Mplayer-cvslog] CVS: main/libmpcodecs ad_libdv.c,NONE,1.1 vd_libdv.c,NONE,1.1 Makefile,1.52,1.53 ad.c,1.8,1.9 vd.c,1.44,1.45
- Next message: [Mplayer-cvslog] CVS: main/libmpdemux parse_mp4.c,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv10454
Modified Files:
demux_mov.c
Log Message:
support for .mp4 with .mp3 audio
Index: demux_mov.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mov.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- demux_mov.c 1 Aug 2002 21:16:57 -0000 1.70
+++ demux_mov.c 5 Aug 2002 18:22:14 -0000 1.71
@@ -777,10 +777,16 @@
sh->i_bps = esds.avgBitrate/8;
+// printf("######## audio format = %d ########\n",esds.objectTypeId);
+ if(esds.objectTypeId==107)
+ sh->format=0x55; // .mp3
+
// dump away the codec specific configuration for the AAC decoder
+ if(esds.decoderConfigLen){
sh->codecdata_len = esds.decoderConfigLen;
sh->codecdata = (unsigned char *)malloc(sh->codecdata_len);
memcpy(sh->codecdata, esds.decoderConfig, sh->codecdata_len);
+ }
}
mp4_free_esds(&esds); // freeup esds mem
#if 0
- Previous message: [Mplayer-cvslog] CVS: main/libmpcodecs ad_libdv.c,NONE,1.1 vd_libdv.c,NONE,1.1 Makefile,1.52,1.53 ad.c,1.8,1.9 vd.c,1.44,1.45
- Next message: [Mplayer-cvslog] CVS: main/libmpdemux parse_mp4.c,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list