diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-10 18:03:42 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-12 22:05:39 +0400 |
commit | ab0ea7cb41e698c1d8462441c72c204771418b55 (patch) | |
tree | 9fc97b6d5c63f579bb5cdb360170c7786c199ef6 | |
parent | d70231f02d06c551b99db61962812ffda2438f12 (diff) |
ffplay: avoid SDL_atoi()
It appears this function is not available everywhere
Should fix Ticket1525
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2098,7 +2098,7 @@ static int audio_open(void *opaque, int64_t wanted_channel_layout, int wanted_nb env = SDL_getenv("SDL_AUDIO_CHANNELS"); if (env) { - wanted_nb_channels = SDL_atoi(env); + wanted_nb_channels = atoi(env); wanted_channel_layout = av_get_default_channel_layout(wanted_nb_channels); } if (!wanted_channel_layout || wanted_nb_channels != av_get_channel_layout_nb_channels(wanted_channel_layout)) { |