decoder/ffmpeg: remove unnecessary nullptr check for av_free()

This commit is contained in:
Max Kellermann 2014-12-19 10:33:17 +01:00
parent 2e22ff2e36
commit f9abc561fb

View File

@ -100,8 +100,7 @@ struct AvioStream {
:decoder(_decoder), input(_input), io(nullptr) {}
~AvioStream() {
if (io != nullptr)
av_free(io);
av_free(io);
}
bool Open();