mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
Fix up libaf unknown-format printing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17877 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
33f64f9e05
commit
a6de87d626
@ -1158,9 +1158,9 @@ static char help_text[]=
|
|||||||
#define MSGTR_AF_LADSPA_ErrControlBelow "%s: Input control #%d is below lower boundary of %0.4f.\n"
|
#define MSGTR_AF_LADSPA_ErrControlBelow "%s: Input control #%d is below lower boundary of %0.4f.\n"
|
||||||
#define MSGTR_AF_LADSPA_ErrControlAbove "%s: Input control #%d is above upper boundary of %0.4f.\n"
|
#define MSGTR_AF_LADSPA_ErrControlAbove "%s: Input control #%d is above upper boundary of %0.4f.\n"
|
||||||
|
|
||||||
// af_format.c
|
// format.c
|
||||||
|
|
||||||
#define MSGTR_AF_FORMAT_UnknownSpecial "Unknown special\n"
|
#define MSGTR_AF_FORMAT_UnknownFormat "unknown-format "
|
||||||
|
|
||||||
// ========================== INPUT =========================================
|
// ========================== INPUT =========================================
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ char* af_fmt2str(int format, char* str, int size)
|
|||||||
case(AF_FORMAT_IMA_ADPCM):
|
case(AF_FORMAT_IMA_ADPCM):
|
||||||
i+=snprintf(&str[i],size-i,"IMA-ADPCM "); break;
|
i+=snprintf(&str[i],size-i,"IMA-ADPCM "); break;
|
||||||
default:
|
default:
|
||||||
af_msg(AF_MSG_ERROR,MSGTR_AF_FORMAT_UnknownSpecial);
|
i+=snprintf(&str[i],size-i,MSGTR_AF_FORMAT_UnknownFormat);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
Loading…
Reference in New Issue
Block a user