Mercurial > libavformat.hg
changeset 3182:3cf24d58a8a9 libavformat
print essence path in error message
author | bcoudurier |
---|---|
date | Thu, 27 Mar 2008 13:30:31 +0000 |
parents | 50b9615fbfd6 |
children | 4ebe80ca2a2d |
files | mov.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Thu Mar 27 13:20:12 2008 +0000 +++ b/mov.c Thu Mar 27 13:30:31 2008 +0000 @@ -1259,8 +1259,8 @@ 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;