changeset 1154:322bb8541a9e libavformat

typo fix
author bcoudurier
date Thu, 06 Jul 2006 14:57:55 +0000
parents 6cb1c11cc363
children e47fea3a5469
files movenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/movenc.c	Thu Jul 06 14:46:01 2006 +0000
+++ b/movenc.c	Thu Jul 06 14:57:55 2006 +0000
@@ -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};