*/
#include <stdlib.h>
+#include "libavcodec/bitstream.h"
#include "avformat.h"
-#include "bitstream.h"
-#include "ogg2.h"
+#include "oggdec.h"
#define FLAC_STREAMINFO_SIZE 0x22
return 0;
}
-ogg_codec_t flac_codec = {
+const ogg_codec_t ff_flac_codec = {
.magic = "\177FLAC",
.magicsize = 5,
.header = flac_header
};
-ogg_codec_t old_flac_codec = {
+const ogg_codec_t ff_old_flac_codec = {
.magic = "fLaC",
.magicsize = 4,
.header = old_flac_header