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