Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
f5930fff
Commit
f5930fff
authored
Mar 08, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use dialog_Question
parent
97ce64ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
16 deletions
+14
-16
modules/demux/avi/avi.c
modules/demux/avi/avi.c
+14
-16
No files found.
modules/demux/avi/avi.c
View file @
f5930fff
...
...
@@ -33,6 +33,7 @@
#include <vlc_demux.h>
#include <vlc_interface.h>
#include <vlc_dialog.h>
#include <vlc_meta.h>
#include <vlc_codecs.h>
...
...
@@ -675,23 +676,20 @@ aviindex:
b_index
=
true
;
goto
aviindex
;
}
int
i_create
;
i_create
=
intf_UserYesNo
(
p_demux
,
_
(
"AVI Index"
)
,
_
(
"This AVI file is broken. Seeking will not "
"work correctly.
\n
Do you want to "
"try to repair it?
\n\n
This might take a long time."
),
_
(
"Repair"
),
_
(
"Don't repair"
),
_
(
"Cancel"
)
);
if
(
i_create
==
DIALOG_OK_YES
)
switch
(
dialog_Question
(
p_demux
,
_
(
"AVI Index"
)
,
_
(
"This AVI file is broken. Seeking will not work correctly.
\n
"
"Do you want to try to fix it?
\n\n
"
"This might take a long time."
),
_
(
"Repair"
),
_
(
"Don't repair"
),
_
(
"Cancel"
)
)
)
{
b_index
=
true
;
msg_Dbg
(
p_demux
,
"Fixing AVI index"
);
goto
aviindex
;
}
else
if
(
i_create
==
DIALOG_CANCELLED
)
{
/* Kill input */
vlc_object_kill
(
p_demux
->
p_parent
);
goto
error
;
case
1
:
b_index
=
true
;
msg_Dbg
(
p_demux
,
"Fixing AVI index"
);
goto
aviindex
;
case
3
:
/* Kill input */
vlc_object_kill
(
p_demux
->
p_parent
);
goto
error
;
}
}
}
...
...
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