diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-03-27 13:30:31 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-03-27 13:30:31 +0000 |
commit | 9e81a0ce00e2fbbe2f70184e12c9eec17a3ce831 (patch) | |
tree | b1876b9b158e7ff567082ec0eadea63a98e5c280 /libavformat/mov.c | |
parent | 9ce84dd8b4dca869651b7fa7a08ba08b1014b760 (diff) | |
download | ffmpeg-streaming-9e81a0ce00e2fbbe2f70184e12c9eec17a3ce831.zip ffmpeg-streaming-9e81a0ce00e2fbbe2f70184e12c9eec17a3ce831.tar.gz |
print essence path in error message
Originally committed as revision 12607 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 774e577..f8d35a6 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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; |