~ubuntu-branches/ubuntu/saucy/gst-libav1.0/saucy-proposed

« back to all changes in this revision

Viewing changes to gst-libs/ext/libav/libavformat/xwma.c

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2013-07-30 09:00:15 UTC
  • mfrom: (1.1.16) (7.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20130730090015-sc1ou2yssu7q5w4e
Tags: 1.1.3-1
* New upstream development snapshot:
  + debian/control:
    - Build depend on GStreamer and gst-plugins-base >= 1.1.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    return 0;
41
41
}
42
42
 
43
 
static int xwma_read_header(AVFormatContext *s, AVFormatParameters *ap)
 
43
static int xwma_read_header(AVFormatContext *s)
44
44
{
45
45
    int64_t size, av_uninit(data_size);
46
46
    int ret;
84
84
     * extradata for that. Thus, ask the user for feedback, but try to go on
85
85
     * anyway.
86
86
     */
87
 
    if (st->codec->codec_id != CODEC_ID_WMAV2) {
 
87
    if (st->codec->codec_id != AV_CODEC_ID_WMAV2) {
88
88
        av_log(s, AV_LOG_WARNING, "unexpected codec (tag 0x04%x; id %d)\n",
89
89
                              st->codec->codec_tag, st->codec->codec_id);
90
90
        av_log_ask_for_sample(s, NULL);