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