summaryrefslogtreecommitdiff
path: root/avplay.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-12-30 12:39:03 +0200
committerMartin Storsjö <martin@martin.st>2012-01-04 11:03:45 +0200
commit0749720b6cdce68e4908dc59f1b4e1399852372b (patch)
tree19e95286a3e97eb2e8eea8a0a6b1220c1673b37d /avplay.c
parent6b3995ccd1c83e8d1d81d84ac78eedc96598c777 (diff)
downloadffmpeg-0749720b6cdce68e4908dc59f1b4e1399852372b.tar.gz
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>
Diffstat (limited to 'avplay.c')
-rw-r--r--avplay.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/avplay.c b/avplay.c
index 6dbf140135..3bbb7ef1a2 100644
--- a/avplay.c
+++ b/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;