cin: remove transparent image fix for ffmpeg

This commit is contained in:
Denis Pauk 2023-10-28 15:17:02 +03:00
parent 00dcd5952b
commit 17436190ae

View file

@ -649,7 +649,7 @@ SCR_ReadNextFrame(void)
static byte *
SCR_ReadNextAVFrame(void)
{
size_t count, i;
size_t count;
byte *buffer;
count = cin.height * cin.width * cin.color_bits / 8;
@ -667,12 +667,6 @@ SCR_ReadNextAVFrame(void)
cin.av_video->video_frame_size,
cin.av_video->video_timestamp);
/* force untransparent image show */
for (i=0; i < count; i += 4)
{
buffer[i + 3] = 255;
}
if (cin.s_channels > 0)
{
S_RawSamples(cin.av_video->audio_frame_size / (cin.s_width * cin.s_channels),