mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-23 02:11:14 +08:00
avformat/oggdec: reset end_trimming when it has been used, so it cannot be used twice by mistake
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -785,6 +785,7 @@ retry:
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
AV_WL32(side_data + 4, os->end_trimming);
|
||||
os->end_trimming = 0;
|
||||
}
|
||||
|
||||
return psize;
|
||||
|
||||
Reference in New Issue
Block a user