view loader/drv.h @ 37104:91b00a4407cd

demux_real: Improve buffer allocation for interleaved audio handling. Allocate buffers where they are needed. This avoids code duplication, allocating them when they are not needed, and might avoid a crash if an audio stream is specified via -aid that does not exist in the headers but does exist in the file since then we might run the deinterleaving without having the buffers allocated first (note: I have not tested this can actually happen).
author reimar
date Tue, 13 May 2014 21:06:38 +0000
parents ff7b06c867cd
children
line wrap: on
line source

/*
 * Modified for use with MPlayer, detailed changelog at
 * http://svn.mplayerhq.hu/mplayer/trunk/
 */

#ifndef MPLAYER_DRV_H
#define MPLAYER_DRV_H

#include "wine/windef.h"
#include "wine/driver.h"

void CodecAlloc(void);
void CodecRelease(void);

HDRVR DrvOpen(LPARAM lParam2);
void DrvClose(HDRVR hdrvr);

#endif /* MPLAYER_DRV_H */