print essence path in error message

Originally committed as revision 12607 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2008-03-27 13:30:31 +00:00
parent 9ce84dd8b4
commit 9e81a0ce00
1 changed files with 2 additions and 2 deletions

View File

@ -1259,8 +1259,8 @@ static int mov_read_trak(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
if (sc->dref_id-1 < sc->drefs_count && sc->drefs[sc->dref_id-1].path) { if (sc->dref_id-1 < sc->drefs_count && sc->drefs[sc->dref_id-1].path) {
if (url_fopen(&sc->pb, sc->drefs[sc->dref_id-1].path, URL_RDONLY) < 0) if (url_fopen(&sc->pb, sc->drefs[sc->dref_id-1].path, URL_RDONLY) < 0)
av_log(c->fc, AV_LOG_ERROR, "stream %d, error opening external essence: %s\n", av_log(c->fc, AV_LOG_ERROR, "stream %d, error opening file %s: %s\n",
st->index, strerror(errno)); st->index, sc->drefs[sc->dref_id-1].path, strerror(errno));
} else } else
sc->pb = c->fc->pb; sc->pb = c->fc->pb;