summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-04 20:15:44 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-07 18:11:24 +0200
commit80c6e238b0f42a0b07fbc195564a50032b3608ba (patch)
treec2ac1db4b41f8d8c71ef5ea5804cc7f0287ab99c /ffmpeg.c
parentf87b1b373a0df55080c1e6a5874f9a0a75c6fee8 (diff)
avio: avio_ prefix for url_set_interrupt_cb.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index cae6d64586..83e77dd51f 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2451,7 +2451,7 @@ static int transcode(AVFormatContext **output_files,
#else
fprintf(stderr, "Press ctrl-c to stop encoding\n");
#endif
- url_set_interrupt_cb(decode_interrupt_cb);
+ avio_set_interrupt_cb(decode_interrupt_cb);
}
term_init();
@@ -4289,7 +4289,7 @@ int main(int argc, char **argv)
#if HAVE_ISATTY
if(isatty(STDIN_FILENO))
- url_set_interrupt_cb(decode_interrupt_cb);
+ avio_set_interrupt_cb(decode_interrupt_cb);
#endif
init_opts();