Move channel chunk reading function to isom.c.

Move ff_read_chan_chunk() to isom.c and rename it as ff_mov_read_chan().
This commit is contained in:
Carl Eugen Hoyos
2011-04-28 10:45:32 +02:00
parent 0665199e43
commit 91b782720f
7 changed files with 65 additions and 66 deletions

View File

@ -23,7 +23,7 @@
#include "avformat.h"
#include "pcm.h"
#include "aiff.h"
#include "caf.h"
#include "isom.h"
#define AIFF 0
#define AIFF_C_VERSION1 0xA2805140
@ -257,7 +257,7 @@ static int aiff_read_header(AVFormatContext *s,
case MKTAG('C','H','A','N'):
if (size < 12)
return AVERROR_INVALIDDATA;
ff_read_chan_chunk(s, size, st->codec);
ff_mov_read_chan(s, size, st->codec);
break;
default: /* Jump */
if (size & 1) /* Always even aligned */