swr: fix invalid sample format message.
authorClément Bœsch <ubitux@gmail.com>
Thu, 24 Nov 2011 15:05:14 +0000 (16:05 +0100)
committerClément Bœsch <ubitux@gmail.com>
Thu, 24 Nov 2011 15:55:45 +0000 (16:55 +0100)
commit0232f788b6b0855db1771dbf8d7174e2eda2ff45
tree6f42092574d4c4bf818529dc0dad3c2f5fe54129
parent58205edcc67f606f13f2bc4571e5f5bd61eaef05
swr: fix invalid sample format message.

If the sample format is invalid, av_get_sample_fmt_name() will always
return NULL.
libswresample/swresample.c