summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-24 15:24:36 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-24 15:24:36 +0000
commitccba88d764e71cf8ece8f4861fbceab6ed6e805a (patch)
tree0d90047954525b2d59a4224d5a018c163391cf94
parent295b7dc367808317e2ea22ca147f8fe4d1caf597 (diff)
cosmectics, mov -> mp4
Originally committed as revision 8497 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/isom.c2
-rw-r--r--libavformat/isom.h2
-rw-r--r--libavformat/mov.c2
-rw-r--r--libavformat/movenc.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/isom.c b/libavformat/isom.c
index c86ae98337..c1a690ef2b 100644
--- a/libavformat/isom.c
+++ b/libavformat/isom.c
@@ -26,7 +26,7 @@
#include "isom.h"
/* http://www.mp4ra.org */
-const AVCodecTag ff_mov_obj_type[] = {
+const AVCodecTag ff_mp4_obj_type[] = {
{ CODEC_ID_MPEG4 , 32 },
{ CODEC_ID_H264 , 33 },
{ CODEC_ID_AAC , 64 },
diff --git a/libavformat/isom.h b/libavformat/isom.h
index 159f9c5e61..efcb1fc42b 100644
--- a/libavformat/isom.h
+++ b/libavformat/isom.h
@@ -25,7 +25,7 @@
#define FFMPEG_ISOM_H
/* isom.c */
-extern const AVCodecTag ff_mov_obj_type[];
+extern const AVCodecTag ff_mp4_obj_type[];
extern const AVCodecTag codec_movvideo_tags[];
extern const AVCodecTag codec_movaudio_tags[];
diff --git a/libavformat/mov.c b/libavformat/mov.c
index b256453fdc..209cc74de8 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -382,7 +382,7 @@ static int mov_read_esds(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
sc->esds.max_bitrate = get_be32(pb);
sc->esds.avg_bitrate = get_be32(pb);
- st->codec->codec_id= codec_get_id(ff_mov_obj_type, sc->esds.object_type_id);
+ st->codec->codec_id= codec_get_id(ff_mp4_obj_type, sc->esds.object_type_id);
dprintf(c->fc, "esds object type id %d\n", sc->esds.object_type_id);
len = mov_mp4_read_descr(c, pb, &tag);
if (tag == MP4DecSpecificDescrTag) {
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index c5f777d023..e93416914f 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -260,7 +260,7 @@ static int mov_write_esds_tag(ByteIOContext *pb, MOVTrack* track) // Basic
putDescr(pb, 0x04, 13 + decoderSpecificInfoLen);
// Object type indication
- put_byte(pb, codec_get_tag(ff_mov_obj_type, track->enc->codec_id));
+ put_byte(pb, codec_get_tag(ff_mp4_obj_type, track->enc->codec_id));
// the following fields is made of 6 bits to identify the streamtype (4 for video, 5 for audio)
// plus 1 bit to indicate upstream and 1 bit set to 1 (reserved)