~ubuntu-branches/ubuntu/raring/mplayer2/raring-proposed

« back to all changes in this revision

Viewing changes to libmpcodecs/vf_lavc.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2012-01-12 22:59:30 UTC
  • mfrom: (5.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20120112225930-jsg10o7na7nk73w5
Tags: 2.0-426-gc32b3ed-2
* Upload to unstable
* don't build-depend on libcdparanoia-dev on the hurd

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include "img_format.h"
28
28
#include "mp_image.h"
29
29
#include "vf.h"
30
 
#include "vd_ffmpeg.h"
31
30
#include "libavcodec/avcodec.h"
32
31
 
33
32
struct vf_priv_s {
138
137
    vf->priv=malloc(sizeof(struct vf_priv_s));
139
138
    memset(vf->priv,0,sizeof(struct vf_priv_s));
140
139
 
141
 
    init_avcodec();
142
 
 
143
140
    vf->priv->codec = (AVCodec *)avcodec_find_encoder_by_name("mpeg1video");
144
141
    if (!vf->priv->codec) {
145
142
        mp_tmsg(MSGT_VFILTER,MSGL_ERR,"Cannot find codec '%s' in libavcodec...\n", "mpeg1video");