Browse Source

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>
tags/n0.10
Martin Storsjö 14 years ago
parent
commit
0749720b6c
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      avplay.c

+ 0
- 1
avplay.c View File

@@ -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…
Cancel
Save