# HG changeset patch # User reimar # Date 1160309948 0 # Node ID 9c7de33d0e175e1dd57853763a9212cf2db4782b # Parent 3047f69e3d748d9f1aa0bb3232667f5bf72bd3e2 WavPack files contain a complete, valid RIFF tag, so use extension (.wv) to give libavformat a chance before our audio demuxer diff -r 3047f69e3d74 -r 9c7de33d0e17 libmpdemux/extension.c --- a/libmpdemux/extension.c Sun Oct 08 10:02:40 2006 +0000 +++ b/libmpdemux/extension.c Sun Oct 08 12:19:08 2006 +0000 @@ -63,7 +63,8 @@ { "302", DEMUXER_TYPE_LAVF }, { "264", DEMUXER_TYPE_H264_ES }, { "26l", DEMUXER_TYPE_H264_ES }, - { "ac3", DEMUXER_TYPE_LAVF } + { "ac3", DEMUXER_TYPE_LAVF }, + { "wv", DEMUXER_TYPE_LAVF }, }; int demuxer_type_by_filename(char* filename){