~ubuntu-branches/ubuntu/quantal/mplayer2/quantal-proposed

« back to all changes in this revision

Viewing changes to libmpdemux/demux_mf.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:
23
23
#include <sys/stat.h>
24
24
#include <unistd.h>
25
25
 
 
26
#include "talloc.h"
26
27
#include "config.h"
27
28
#include "mp_msg.h"
28
29
 
123
124
      mp_msg(MSGT_DEMUX, MSGL_INFO, "[demux_mf] file type was not set! (try -mf type=xxx)\n" );
124
125
      free( mf ); return NULL;
125
126
    }
126
 
    mf_type=strdup(p+1);
 
127
    mf_type = talloc_strdup(NULL, p+1);
127
128
    mp_msg(MSGT_DEMUX, MSGL_INFO, "[demux_mf] file type was not set! trying 'type=%s'...\n", mf_type);
128
129
  }
129
130