mirror of https://git.ffmpeg.org/ffmpeg.git
print essence path in error message
Originally committed as revision 12607 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9ce84dd8b4
commit
9e81a0ce00
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue