Commit fc872b5b authored by Alexandre Julliard's avatar Alexandre Julliard

avifil32: Append the *.* extension by hand after loading the string.

parent 8c9b54b7
......@@ -995,6 +995,7 @@ HRESULT WINAPI AVIBuildFilterA(LPSTR szFilter, LONG cbFilter, BOOL fSaving)
*/
HRESULT WINAPI AVIBuildFilterW(LPWSTR szFilter, LONG cbFilter, BOOL fSaving)
{
static const WCHAR all_files[] = { '*','.','*',0,0 };
static const WCHAR szClsid[] = {'C','L','S','I','D',0};
static const WCHAR szExtensionFmt[] = {';','*','.','%','s',0};
static const WCHAR szAVIFileExtensions[] =
......@@ -1117,22 +1118,12 @@ HRESULT WINAPI AVIBuildFilterW(LPWSTR szFilter, LONG cbFilter, BOOL fSaving)
/* add "All files" "*.*" filter if enough space left */
size = LoadStringW(AVIFILE_hModule, IDS_ALLFILES,
szAllFiles, sizeof(szAllFiles)/sizeof(szAllFiles[0])) + 1;
if (cbFilter > size) {
int i;
/* replace '@' with \000 to separate description of filter */
for (i = 0; i < size && szAllFiles[i] != 0; i++) {
if (szAllFiles[i] == '@') {
szAllFiles[i] = 0;
break;
}
}
szAllFiles, (sizeof(szAllFiles) - sizeof(all_files))/sizeof(WCHAR)) + 1;
memcpy( szAllFiles + size, all_files, sizeof(all_files) );
size += sizeof(all_files) / sizeof(WCHAR);
if (cbFilter > size) {
memcpy(szFilter, szAllFiles, size * sizeof(szAllFiles[0]));
szFilter += size;
szFilter[0] = 0;
return AVIERR_OK;
} else {
szFilter[0] = 0;
......
......@@ -49,7 +49,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Waveform: %s"
IDS_WAVEFILETYPE "Waveform"
IDS_ALLMULTIMEDIA "Vechny soubory multimdi"
IDS_ALLFILES "Vechny soubory (*.*)@*.*"
IDS_ALLFILES "Vechny soubory (*.*)"
IDS_VIDEO "video"
IDS_AUDIO "audio"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -46,7 +46,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Lydkurve: %s"
IDS_WAVEFILETYPE "Lydkurve"
IDS_ALLMULTIMEDIA "Alle multimedia filer"
IDS_ALLFILES "Alle filer (*.*)@*.*"
IDS_ALLFILES "Alle filer (*.*)"
IDS_VIDEO "video"
IDS_AUDIO "lyd"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -45,7 +45,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Waveform: %s"
IDS_WAVEFILETYPE "Waveform"
IDS_ALLMULTIMEDIA "Alle Multimedia-Dateien"
IDS_ALLFILES "Alle Dateien (*.*)@*.*"
IDS_ALLFILES "Alle Dateien (*.*)"
IDS_VIDEO "Video"
IDS_AUDIO "Audio"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -43,7 +43,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Waveform: %s"
IDS_WAVEFILETYPE "Waveform"
IDS_ALLMULTIMEDIA "All multimedia files"
IDS_ALLFILES "All files (*.*)@*.*"
IDS_ALLFILES "All files (*.*)"
IDS_VIDEO "video"
IDS_AUDIO "audio"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -43,7 +43,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Formato de ondas: %s"
IDS_WAVEFILETYPE "Formato de ondas"
IDS_ALLMULTIMEDIA "Todos los archivos multimedia"
IDS_ALLFILES "Todos los archivos (*.*)@*.*"
IDS_ALLFILES "Todos los archivos (*.*)"
IDS_VIDEO "vdeo"
IDS_AUDIO "audio"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -50,7 +50,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Waveform : %s"
IDS_WAVEFILETYPE "Waveform"
IDS_ALLMULTIMEDIA "Tous les fichiers multimédia"
IDS_ALLFILES "Tous les fichiers (*.*)@*.*"
IDS_ALLFILES "Tous les fichiers (*.*)"
IDS_VIDEO "vidéo"
IDS_AUDIO "audio"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -47,7 +47,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Waveform: %s"
IDS_WAVEFILETYPE "Waveform"
IDS_ALLMULTIMEDIA "כל קובצי המולטימדיה"
IDS_ALLFILES "כל הקבצים (*.*)@*.*"
IDS_ALLFILES "כל הקבצים (*.*)"
IDS_VIDEO "וידאו"
IDS_AUDIO "שמע"
IDS_AVISTREAMFORMAT "%s %s מס׳ %d"
......
......@@ -43,7 +43,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Hullmforma: %s"
IDS_WAVEFILETYPE "Hullmforma"
IDS_ALLMULTIMEDIA "Minden multimdia fjl"
IDS_ALLFILES "Minden fjl (*.*)@*.*"
IDS_ALLFILES "Minden fjl (*.*)"
IDS_VIDEO "video"
IDS_AUDIO "hang"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -44,7 +44,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Formato wave: %s"
IDS_WAVEFILETYPE "Formato wave"
IDS_ALLMULTIMEDIA "Tutti i file multimediali"
IDS_ALLFILES "Tutti i file (*.*)@*.*"
IDS_ALLFILES "Tutti i file (*.*)"
IDS_VIDEO "Video"
IDS_AUDIO "Audio"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -46,7 +46,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Waveファイル: %s"
IDS_WAVEFILETYPE "Waveファイル"
IDS_ALLMULTIMEDIA "全てのマルチメディアファイル"
IDS_ALLFILES "全てのファイル (*.*)@*.*"
IDS_ALLFILES "全てのファイル (*.*)"
IDS_VIDEO "ビデオ"
IDS_AUDIO "音声"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -46,7 +46,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "파형: %s"
IDS_WAVEFILETYPE "파형"
IDS_ALLMULTIMEDIA "모든 멀티미디어 파일"
IDS_ALLFILES "모든 파일 (*.*)@*.*"
IDS_ALLFILES "모든 파일 (*.*)"
IDS_VIDEO "비디오"
IDS_AUDIO "오디오"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -46,7 +46,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Bangos forma: %s"
IDS_WAVEFILETYPE "Bangos forma"
IDS_ALLMULTIMEDIA "Visi multimedijos failai"
IDS_ALLFILES "Visi failai (*.*)@*.*"
IDS_ALLFILES "Visi failai (*.*)"
IDS_VIDEO "vaizdas"
IDS_AUDIO "garsas"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -45,7 +45,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Waveform: %s"
IDS_WAVEFILETYPE "Waveform"
IDS_ALLMULTIMEDIA "Alle multimediabestanden"
IDS_ALLFILES "Alle bestanden (*.*)@*.*"
IDS_ALLFILES "Alle bestanden (*.*)"
IDS_VIDEO "video"
IDS_AUDIO "audio"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -43,7 +43,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Lydformat: %s"
IDS_WAVEFILETYPE "Lydformat"
IDS_ALLMULTIMEDIA "Alle multimedia-filer"
IDS_ALLFILES "Alle filer (*.*)@*.*"
IDS_ALLFILES "Alle filer (*.*)"
IDS_VIDEO "video"
IDS_AUDIO "lyd"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -44,7 +44,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Ksztat fali: %s"
IDS_WAVEFILETYPE "Ksztat fali"
IDS_ALLMULTIMEDIA "Wszystkie pliki multimedialne"
IDS_ALLFILES "Wszystkie pliki (*.*)@*.*"
IDS_ALLFILES "Wszystkie pliki (*.*)"
IDS_VIDEO "obraz"
IDS_AUDIO "dwik"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -70,7 +70,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Formato wave: %s"
IDS_WAVEFILETYPE "Formato wave"
IDS_ALLMULTIMEDIA "Todos arquivos multimídia"
IDS_ALLFILES "Todos os arquivos (*.*)@*.*"
IDS_ALLFILES "Todos os arquivos (*.*)"
IDS_VIDEO "vídeo"
IDS_AUDIO "áudio"
IDS_AVISTREAMFORMAT "%s %s #%d"
......@@ -85,7 +85,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Formato wave: %s"
IDS_WAVEFILETYPE "Formato wave"
IDS_ALLMULTIMEDIA "Todos os ficheiros multimédia"
IDS_ALLFILES "Todos os ficheiros (*.*)@*.*"
IDS_ALLFILES "Todos os ficheiros (*.*)"
IDS_VIDEO "vídeo"
IDS_AUDIO "áudio"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -48,7 +48,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Forma de undă: %s"
IDS_WAVEFILETYPE "Formă de undă"
IDS_ALLMULTIMEDIA "Toate fișierele multimedia"
IDS_ALLFILES "Toate fișierele (*.*)@*.*"
IDS_ALLFILES "Toate fișierele (*.*)"
IDS_VIDEO "video"
IDS_AUDIO "audio"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -48,7 +48,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Звуковой поток: %s"
IDS_WAVEFILETYPE "Звуковой поток"
IDS_ALLMULTIMEDIA "Все файлы мультимедиа"
IDS_ALLFILES "Все файлы (*.*)@*.*"
IDS_ALLFILES "Все файлы (*.*)"
IDS_VIDEO "видео"
IDS_AUDIO "аудио"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -45,7 +45,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Waveform: %s"
IDS_WAVEFILETYPE "Waveform"
IDS_ALLMULTIMEDIA "Vse večpredstavnostne datoteke"
IDS_ALLFILES "Vse datoteke (*.*)@*.*"
IDS_ALLFILES "Vse datoteke (*.*)"
IDS_VIDEO "video"
IDS_AUDIO "avdio"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -46,7 +46,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Таласни облик: %s"
IDS_WAVEFILETYPE "Таласни облик"
IDS_ALLMULTIMEDIA "Све мултимедијалне датотеке"
IDS_ALLFILES "Све датотеке (*.*)@*.*"
IDS_ALLFILES "Све датотеке (*.*)"
IDS_VIDEO "видео запис"
IDS_AUDIO "аудио запис"
IDS_AVISTREAMFORMAT "%s %s #%d"
......@@ -79,7 +79,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Talasni oblik: %s"
IDS_WAVEFILETYPE "Talasni oblik"
IDS_ALLMULTIMEDIA "Sve multimedijalne datoteke"
IDS_ALLFILES "Sve datoteke (*.*)@*.*"
IDS_ALLFILES "Sve datoteke (*.*)"
IDS_VIDEO "video zapis"
IDS_AUDIO "audio zapis"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -43,7 +43,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Vgform: %s"
IDS_WAVEFILETYPE "Vgform"
IDS_ALLMULTIMEDIA "Alla multimediafiler"
IDS_ALLFILES "Alla filer (*.*)@*.*"
IDS_ALLFILES "Alla filer (*.*)"
IDS_VIDEO "video"
IDS_AUDIO "ljud"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -43,7 +43,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "Waveform: %s"
IDS_WAVEFILETYPE "Waveform"
IDS_ALLMULTIMEDIA "Tm okluortam dosyalar"
IDS_ALLFILES "Tm dosyalar (*.*)@*.*"
IDS_ALLFILES "Tm dosyalar (*.*)"
IDS_VIDEO "vidyo"
IDS_AUDIO "ses"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -43,7 +43,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT " : %s"
IDS_WAVEFILETYPE " "
IDS_ALLMULTIMEDIA " "
IDS_ALLFILES " (*.*)@*.*"
IDS_ALLFILES " (*.*)"
IDS_VIDEO ""
IDS_AUDIO ""
IDS_AVISTREAMFORMAT "%s %s #%d"
......
......@@ -48,7 +48,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "波形: %s"
IDS_WAVEFILETYPE "波形"
IDS_ALLMULTIMEDIA "所有多媒体文件"
IDS_ALLFILES "所有文件 (*.*)@*.*"
IDS_ALLFILES "所有文件 (*.*)"
IDS_VIDEO "视频"
IDS_AUDIO "音频"
IDS_AVISTREAMFORMAT "%s %s #%d"
......@@ -81,7 +81,7 @@ STRINGTABLE
IDS_WAVESTREAMFORMAT "波形: %s"
IDS_WAVEFILETYPE "波形"
IDS_ALLMULTIMEDIA "所有多媒體檔案"
IDS_ALLFILES "所有檔案 (*.*)@*.*"
IDS_ALLFILES "所有檔案 (*.*)"
IDS_VIDEO "視頻"
IDS_AUDIO "音頻"
IDS_AVISTREAMFORMAT "%s %s #%d"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment