Browse Source

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>
tags/n2.2-rc1
Michael Niedermayer 11 years ago
parent
commit
551a679795
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/oggdec.c

+ 1
- 0
libavformat/oggdec.c View File

@@ -785,6 +785,7 @@ retry:
return AVERROR(ENOMEM);
}
AV_WL32(side_data + 4, os->end_trimming);
os->end_trimming = 0;
}

return psize;


Loading…
Cancel
Save