Unverified Commit dd9080ca authored by Prabhat Roy's avatar Prabhat Roy Committed by GitHub
Browse files

Fix error message in demuxer (#5293)

parent e13da8b8
......@@ -119,6 +119,7 @@ class Demuxer {
" in demuxer.h\n");
}
}
~Demuxer() {
if (!fmtCtx) {
return;
......@@ -223,7 +224,7 @@ class Demuxer {
int64_t time = timestamp * AV_TIME_BASE;
TORCH_CHECK(
0 <= av_seek_frame(fmtCtx, -1, time, flag),
"avformat_open_input() failed at line ",
"av_seek_frame() failed at line ",
__LINE__,
" in demuxer.h\n");
}
......
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