Commit 9e81a0ce authored by Baptiste Coudurier's avatar Baptiste Coudurier

print essence path in error message

Originally committed as revision 12607 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9ce84dd8
......@@ -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 (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",
st->index, strerror(errno));
av_log(c->fc, AV_LOG_ERROR, "stream %d, error opening file %s: %s\n",
st->index, sc->drefs[sc->dref_id-1].path, strerror(errno));
} else
sc->pb = c->fc->pb;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment