Revision ca402f32 libavformat/dxa.c

View differences:

libavformat/dxa.c
60 60
    int w, h;
61 61
    int num, den;
62 62
    int flags;
63
    int ret;
63 64

  
64 65
    tag = avio_rl32(pb);
65 66
    if (tag != MKTAG('D', 'E', 'X', 'A'))
......
102 103
        ast = av_new_stream(s, 0);
103 104
        if (!ast)
104 105
            return -1;
105
        ff_get_wav_header(pb, ast->codec, fsize);
106
        ret = ff_get_wav_header(pb, ast->codec, fsize);
107
        if (ret < 0)
108
            return ret;
106 109
        // find 'data' chunk
107 110
        while(avio_tell(pb) < c->vidpos && !pb->eof_reached){
108 111
            tag = avio_rl32(pb);

Also available in: Unified diff