Revision 36c9e40a libavformat/rmdec.c

View differences:

libavformat/rmdec.c
193 193
{
194 194
    ByteIOContext *pb = &s->pb;
195 195
    unsigned int v;
196
    int codec_data_size, size, res = -1;
196
    int codec_data_size, size;
197 197
    int64_t codec_pos;
198 198

  
199 199
    codec_data_size = get_be32(pb);
......
247 247
        }
248 248
    }
249 249

  
250
    res = 0;
251 250
skip:
252 251
    /* skip codec info */
253 252
    size = url_ftell(pb) - codec_pos;
254 253
    url_fskip(pb, codec_data_size - size);
255 254

  
256
    return res;
255
    return 0;
257 256
}
258 257

  
259 258

  

Also available in: Unified diff