aboutsummaryrefslogtreecommitdiffstats
path: root/avplay.c
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2012-09-05 07:03:56 +0000
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2012-10-01 17:17:42 -0400
commit5e3f9979fae32fe837dab6cff5bde7de3c387611 (patch)
tree0c7f80cc8a57a4d93c316ed961f330ed3282f19f /avplay.c
parentbd680c7b49ba665467cb00664667928bbca516a9 (diff)
downloadffmpeg-5e3f9979fae32fe837dab6cff5bde7de3c387611.tar.gz
Use atexit() instead of defining a custom exit_program() interface.
Diffstat (limited to 'avplay.c')
-rw-r--r--avplay.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/avplay.c b/avplay.c
index d47cf9439a..ead79f3c08 100644
--- a/avplay.c
+++ b/avplay.c
@@ -282,11 +282,6 @@ static AVPacket flush_pkt;
static SDL_Surface *screen;
-void exit_program(int ret)
-{
- exit(ret);
-}
-
static int packet_queue_put(PacketQueue *q, AVPacket *pkt);
/* packet queue handling */