Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
dd9080ca
"vscode:/vscode.git/clone" did not exist on "13888df2aa22a8a8c604a1d1e6ac1e4be12f2798"
Unverified
Commit
dd9080ca
authored
Jan 27, 2022
by
Prabhat Roy
Committed by
GitHub
Jan 27, 2022
Browse files
Fix error message in demuxer (#5293)
parent
e13da8b8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
torchvision/csrc/io/decoder/gpu/demuxer.h
torchvision/csrc/io/decoder/gpu/demuxer.h
+2
-1
No files found.
torchvision/csrc/io/decoder/gpu/demuxer.h
View file @
dd9080ca
...
@@ -119,6 +119,7 @@ class Demuxer {
...
@@ -119,6 +119,7 @@ class Demuxer {
" in demuxer.h
\n
"
);
" in demuxer.h
\n
"
);
}
}
}
}
~
Demuxer
()
{
~
Demuxer
()
{
if
(
!
fmtCtx
)
{
if
(
!
fmtCtx
)
{
return
;
return
;
...
@@ -223,7 +224,7 @@ class Demuxer {
...
@@ -223,7 +224,7 @@ class Demuxer {
int64_t
time
=
timestamp
*
AV_TIME_BASE
;
int64_t
time
=
timestamp
*
AV_TIME_BASE
;
TORCH_CHECK
(
TORCH_CHECK
(
0
<=
av_seek_frame
(
fmtCtx
,
-
1
,
time
,
flag
),
0
<=
av_seek_frame
(
fmtCtx
,
-
1
,
time
,
flag
),
"av
format_open_input
() failed at line "
,
"av
_seek_frame
() failed at line "
,
__LINE__
,
__LINE__
,
" in demuxer.h
\n
"
);
" in demuxer.h
\n
"
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment