diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-05-03 17:25:01 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-05-03 17:25:01 +0300 |
commit | 24d0d48c4a658ed863b2e0246d1362ca3c4b3d19 (patch) | |
tree | 37ab317eafc54df9b4108985f2b7ef5a9be343a0 /libmpcodecs/ad_hwmpa.c | |
parent | 0321d683b4b970fd1025f8613c6a0ce9fcc98716 (diff) | |
download | mpv-24d0d48c4a658ed863b2e0246d1362ca3c4b3d19.tar.bz2 mpv-24d0d48c4a658ed863b2e0246d1362ca3c4b3d19.tar.xz |
audio: avoid duplicated error messages on init failure
dec_audio.c init_audio_codec() would in one case print
"ADecoder init failed :(\n" and return failure. Its only caller
init_best_audio_codec() printed exactly the same message if the
returned result was failure. Change the latter message to say
"Could not open audio decoder %s.\n" instead. Some of the
per-open-attempt messages are kind of value about their context; this
new message should make it more clear where the attempt to open one
specific codec ends.
Diffstat (limited to 'libmpcodecs/ad_hwmpa.c')
0 files changed, 0 insertions, 0 deletions