mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
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:
@ -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 */
|
||||
|
Reference in New Issue
Block a user