avplay: Don't call avio_set_interrupt_cb(NULL)
Since we don't use avio_set_interrupt_cb for interrupt callbacks, we don't need to call it to reset the interrupt cb either. This avoids a warning about use of deprecated functions. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
6b3995ccd1
commit
0749720b6c
1 changed files with 0 additions and 1 deletions
1
avplay.c
1
avplay.c
|
|
@ -2599,7 +2599,6 @@ static int decode_thread(void *arg)
|
|||
if (is->ic) {
|
||||
avformat_close_input(&is->ic);
|
||||
}
|
||||
avio_set_interrupt_cb(NULL);
|
||||
|
||||
if (ret != 0) {
|
||||
SDL_Event event;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue