Fix Radio Plugin Stillpicture

This commit is contained in:
jojo61 2021-12-16 11:37:23 +01:00
parent 1878eaec88
commit 987ff6ba12
1 changed files with 1 additions and 1 deletions

View File

@ -2720,7 +2720,7 @@ void StillPicture(const uint8_t * data, int size)
VideoNextPacket(MyVideoStream, MyVideoStream->CodecID); // terminate last packet
} else { // ES packet
if (0 && MyVideoStream->CodecID != AV_CODEC_ID_MPEG2VIDEO) {
if (MyVideoStream->CodecID != AV_CODEC_ID_MPEG2VIDEO) {
VideoNextPacket(MyVideoStream, AV_CODEC_ID_NONE); // close last stream
MyVideoStream->CodecID = AV_CODEC_ID_MPEG2VIDEO;
}