aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-07-06 14:57:55 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-07-06 14:57:55 +0000
commit06fcf56c50eb6194270656ac8c4fddb250b14eab (patch)
tree5cb85059c4cc3f380ccc709cdff3797a7bbb0ad7
parent875f92876a046d01d5a423d464c1120c5038e322 (diff)
downloadffmpeg-06fcf56c50eb6194270656ac8c4fddb250b14eab.tar.gz
typo fix
Originally committed as revision 5642 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/movenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 66d53d1538..e51fda1976 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};