swr: add set_audiodata_fmt() and use it to simplify code
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 29 Apr 2012 13:29:28 +0000 (15:29 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 29 Apr 2012 13:32:18 +0000 (15:32 +0200)
commit2d6c29f5663afecec250f81a74c612bbadee1c71
tree45aa5b6ccfbf5102f7e9e00439ab60c9e09554cf
parent65722e7fc5918644ca92d5cdfcb88a54b1b64d44
swr: add set_audiodata_fmt() and use it to simplify code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswresample/swresample.c
libswresample/swresample_internal.h