Move GUID-related objects to riffenc.c and riff.c.
This simplifies the following eac3-in-wav patch.
This commit is contained in:
@@ -31,7 +31,6 @@
|
||||
#include "avio_internal.h"
|
||||
#include "internal.h"
|
||||
#include "wtv.h"
|
||||
#include "asf.h"
|
||||
|
||||
#define WTV_BIGSECTOR_SIZE (1 << WTV_BIGSECTOR_BITS)
|
||||
#define INDEX_BASE 0x2
|
||||
@@ -130,16 +129,6 @@ typedef struct {
|
||||
|
||||
#define write_pad(pb, size) ffio_fill(pb, 0, size)
|
||||
|
||||
static const ff_asf_guid *get_codec_guid(enum AVCodecID id, const AVCodecGuid *av_guid)
|
||||
{
|
||||
int i;
|
||||
for (i = 0; av_guid[i].id != AV_CODEC_ID_NONE; i++) {
|
||||
if (id == av_guid[i].id)
|
||||
return &(av_guid[i].guid);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Write chunk header. If header chunk (0x80000000 set) then add to list of header chunks
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user