comparison utils.c @ 64:b0e0eb595e29 libavformat

* static,const,compiler warning cleanup
author kabi
date Mon, 10 Feb 2003 09:35:32 +0000
parents fb671d87824e
children a58a8a53eb46
comparison
equal deleted inserted replaced
63:8329ba7cbd01 64:b0e0eb595e29
1374 AVProbeData probe_data, *pd = &probe_data; 1374 AVProbeData probe_data, *pd = &probe_data;
1375 offset_t pos; 1375 offset_t pos;
1376 int ret; 1376 int ret;
1377 1377
1378 if (!fmt) { 1378 if (!fmt) {
1379 pd->filename = (char *)filename; 1379 pd->filename = filename;
1380 pd->buf = buf; 1380 pd->buf = buf;
1381 pos = url_ftell(pb); 1381 pos = url_ftell(pb);
1382 pd->buf_size = get_buffer(pb, buf, PROBE_BUF_SIZE); 1382 pd->buf_size = get_buffer(pb, buf, PROBE_BUF_SIZE);
1383 url_fseek(pb, pos, SEEK_SET); 1383 url_fseek(pb, pos, SEEK_SET);
1384 fmt = av_probe_image_format(pd); 1384 fmt = av_probe_image_format(pd);