view libmpcodecs/ae_twolame.h @ 29871:a90c7676bf0e

Try to detect broken files with unaligned chunks. This patch hopefully makes them playable as long as they have and index without breaking any other files. Fixes http://samples.mplayerhq.hu/avi/invalid_unaligned.avi with native demuxer.
author reimar
date Mon, 16 Nov 2009 10:41:06 +0000
parents 4129c8cfa742
children bbb6ebec87a0
line wrap: on
line source

#ifndef MPLAYER_AE_TWOLAME_H
#define MPLAYER_AE_TWOLAME_H

#include "ae.h"
#include <twolame.h>

typedef struct {
	twolame_options *twolame_ctx;
	int vbr;
} mpae_twolame_ctx;

int mpae_init_twolame(audio_encoder_t *encoder);

#endif /* MPLAYER_AE_TWOLAME_H */