[SCM] libav/experimental: typo fix

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:48:47 UTC 2013


The following commit has been merged in the experimental branch:
commit 06fcf56c50eb6194270656ac8c4fddb250b14eab
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Thu Jul 6 14:57:55 2006 +0000

    typo fix
    
    Originally committed as revision 5642 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 66d53d1..e51fda1 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1510,7 +1510,7 @@ static int mov_write_packet(AVFormatContext *s, AVPacket *pkt)
     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};

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list