decoder/ffmpeg: remove unnecessary nullptr check for av_free()
This commit is contained in:
parent
2e22ff2e36
commit
f9abc561fb
@ -100,8 +100,7 @@ struct AvioStream {
|
||||
:decoder(_decoder), input(_input), io(nullptr) {}
|
||||
|
||||
~AvioStream() {
|
||||
if (io != nullptr)
|
||||
av_free(io);
|
||||
av_free(io);
|
||||
}
|
||||
|
||||
bool Open();
|
||||
|
Loading…
Reference in New Issue
Block a user