Project

General

Profile

Bug #1223 ยป vdr-osdpip-0.1.1-ffmpeg-1.patch

unixer, 03/06/2013 12:46 PM

View differences:

osdpip-0.1.1/decoder.h
#include <libavcodec/avcodec.h>
#ifdef USE_SWSCALE
#include <libswscale/swscale.h>
#include <libavcodec/opt.h>
#include <libavutil/opt.h>
#endif
#else
#include <ffmpeg/avcodec.h>
osdpip-0.1.1/osdpip.c
bool cPluginOsdpip::Initialize(void)
{
// must be called before using avcodec lib
avcodec_init();
// register all the codecs (you can also register only the codec
// you wish to have smaller code)
avcodec_register_all();
    (1-1/1)