view libmpcodecs/vd_internal.h @ 18933:4d4ecbaa9f54

The symbol avcodec_pix_fmt_to_codec_tag is in libavcodec.a but referenced in libavformat.a. Swapping the order of libavcodec.a and libavformat.a during the linking phase allows non-GNU linkers to work. patch by Chi-Thanh Christopher Nguyen, chithanh =at= cs =dot= tu-berlin =dot= de
author diego
date Fri, 07 Jul 2006 17:04:04 +0000
parents 1972c3475d93
children 4faee1254928
line wrap: on
line source


#include "codec-cfg.h"
#include "img_format.h"

#include "stream.h"
#include "demuxer.h"
#include "stheader.h"

#include "vd.h"

extern int divx_quality;

// prototypes:
//static vd_info_t info;
static int control(sh_video_t *sh,int cmd,void* arg,...);
static int init(sh_video_t *sh);
static void uninit(sh_video_t *sh);
static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags);

#define LIBVD_EXTERN(x) vd_functions_t mpcodecs_vd_##x = {\
	&info,\
	init,\
        uninit,\
	control,\
	decode\
};