Move GUID-related objects to riffenc.c and riff.c.

This simplifies the following eac3-in-wav patch.
This commit is contained in:
Carl Eugen Hoyos
2014-01-29 00:44:59 +01:00
parent 4151b9953e
commit 862174ec83
8 changed files with 27 additions and 27 deletions

View File

@@ -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
*/