Commit 551a6797 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/oggdec: reset end_trimming when it has been used, so it cannot be used twice by mistake

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9c0dd7b4
......@@ -785,6 +785,7 @@ retry:
return AVERROR(ENOMEM);
}
AV_WL32(side_data + 4, os->end_trimming);
os->end_trimming = 0;
}
return psize;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment