Mercurial > mplayer.hg
changeset 35440:c2b5fda66143
Replace outdated list of unsupported formats by list of supported formats.
author | reimar |
---|---|
date | Fri, 30 Nov 2012 19:25:20 +0000 |
parents | 5ec9b96eaa48 |
children | 6dc94af7016d |
files | libaf/af_format.c |
diffstat | 1 files changed, 6 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/libaf/af_format.c Fri Nov 30 19:23:13 2012 +0000 +++ b/libaf/af_format.c Fri Nov 30 19:25:20 2012 +0000 @@ -77,14 +77,13 @@ { char buf[256]; switch(format & AF_FORMAT_SPECIAL_MASK){ - case(AF_FORMAT_IMA_ADPCM): - case(AF_FORMAT_MPEG2): - case(AF_FORMAT_AC3): - mp_msg(MSGT_AFILTER, MSGL_ERR, "[format] Sample format %s not yet supported \n", - af_fmt2str(format,buf,256)); - return AF_ERROR; + case AF_FORMAT_MU_LAW: + case AF_FORMAT_A_LAW: + return AF_OK; } - return AF_OK; + mp_msg(MSGT_AFILTER, MSGL_ERR, "[format] Sample format %s not yet supported \n", + af_fmt2str(format,buf,256)); + return AF_ERROR; } // Initialization and runtime control