[Ffmpeg-cvslog] r5642 - trunk/libavformat/movenc.c

bcoudurier subversion
Thu Jul 6 16:57:55 CEST 2006


Author: bcoudurier
Date: Thu Jul  6 16:57:55 2006
New Revision: 5642

Modified:
   trunk/libavformat/movenc.c

Log:
typo fix

Modified: trunk/libavformat/movenc.c
==============================================================================
--- trunk/libavformat/movenc.c	(original)
+++ trunk/libavformat/movenc.c	Thu Jul  6 16:57:55 2006
@@ -1510,7 +1510,7 @@
     if (url_is_streamed(&s->pb)) return 0; /* Can't handle that */
     if (!size) return 0; /* Discard 0 sized packets */
 
-    if (enc->codec_type == CODEC_ID_AMR_NB) {
+    if (enc->codec_id == CODEC_ID_AMR_NB) {
         /* We must find out how many AMR blocks there are in one packet */
         static uint16_t packed_size[16] =
             {13, 14, 16, 18, 20, 21, 27, 32, 6, 0, 0, 0, 0, 0, 0, 0};




More information about the ffmpeg-cvslog mailing list