Mercurial > libavformat.hg
comparison utils.c @ 1478:5e1b279a26d2 libavformat
nut simple seeking first try
author | michael |
---|---|
date | Sat, 11 Nov 2006 19:37:21 +0000 |
parents | 74cb68ad9dce |
children | 7e288adde245 |
comparison
equal
deleted
inserted
replaced
1477:56fe078ffc27 | 1478:5e1b279a26d2 |
---|---|
402 | 402 |
403 err = ic->iformat->read_header(ic, ap); | 403 err = ic->iformat->read_header(ic, ap); |
404 if (err < 0) | 404 if (err < 0) |
405 goto fail; | 405 goto fail; |
406 | 406 |
407 if (pb) | 407 if (pb && !ic->data_offset) |
408 ic->data_offset = url_ftell(&ic->pb); | 408 ic->data_offset = url_ftell(&ic->pb); |
409 | 409 |
410 *ic_ptr = ic; | 410 *ic_ptr = ic; |
411 return 0; | 411 return 0; |
412 fail: | 412 fail: |