aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/oggdec.c
diff options
context:
space:
mode:
authorDale Curtis <dalecurtis@google.com>2013-12-12 05:31:43 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-12-12 05:33:02 +0100
commit9c0dd7b462303169c40ce22540f11b5b9c5110f3 (patch)
treeae225ee3423891781e3665ed7dde80481854ec60 /libavformat/oggdec.c
parent3efe5e3b094ae8561b31416adb80de33ccd04234 (diff)
downloadffmpeg-9c0dd7b462303169c40ce22540f11b5b9c5110f3.tar.gz
avformat/oggdec: reset end_trimming in ogg_reset()
Fixes the output when seeking back to the start Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/oggdec.c')
-rw-r--r--libavformat/oggdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c
index a099eb382e..78cfbd6af5 100644
--- a/libavformat/oggdec.c
+++ b/libavformat/oggdec.c
@@ -142,6 +142,7 @@ static int ogg_reset(AVFormatContext *s)
if (start_pos <= s->data_offset) {
os->lastpts = 0;
}
+ os->end_trimming = 0;
}
ogg->page_pos = -1;