swr: fix invalid sample format message.
If the sample format is invalid, av_get_sample_fmt_name() will always return NULL.
Please register or sign in to comment
If the sample format is invalid, av_get_sample_fmt_name() will always return NULL.