[FFmpeg-cvslog] r12621 - in trunk/libavformat: isom.c mov.c

bcoudurier subversion
Fri Mar 28 17:30:22 CET 2008


Author: bcoudurier
Date: Fri Mar 28 17:30:22 2008
New Revision: 12621

Log:
gsm in mov, demux surge-1-16-B-agsm.mov

Modified:
   trunk/libavformat/isom.c
   trunk/libavformat/mov.c

Modified: trunk/libavformat/isom.c
==============================================================================
--- trunk/libavformat/isom.c	(original)
+++ trunk/libavformat/isom.c	Fri Mar 28 17:30:22 2008
@@ -159,6 +159,7 @@ const AVCodecTag codec_movaudio_tags[] =
     { CODEC_ID_AMR_NB, MKTAG('s', 'a', 'm', 'r') }, /* AMR-NB 3gp */
     { CODEC_ID_AMR_WB, MKTAG('s', 'a', 'w', 'b') }, /* AMR-WB 3gp */
 
+    { CODEC_ID_GSM,  MKTAG('a', 'g', 's', 'm') },
     { CODEC_ID_ALAC, MKTAG('a', 'l', 'a', 'c') }, /* Apple Lossless */
     { CODEC_ID_QDM2, MKTAG('Q', 'D', 'M', '2') }, /* QDM2 */
 

Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c	(original)
+++ trunk/libavformat/mov.c	Fri Mar 28 17:30:22 2008
@@ -931,6 +931,7 @@ static int mov_read_stsd(MOVContext *c, 
         st->codec->codec_type = CODEC_TYPE_AUDIO; /* force type after stsd for m1a hdlr */
         st->need_parsing = AVSTREAM_PARSE_FULL;
         break;
+    case CODEC_ID_GSM:
     case CODEC_ID_ADPCM_MS:
     case CODEC_ID_ADPCM_IMA_WAV:
         st->codec->block_align = sc->bytes_per_frame;




More information about the ffmpeg-cvslog mailing list