[avbin commit] r32 - trunk/src

0 views
Skip to first unread message

codesite...@google.com

unread,
May 17, 2008, 9:47:49 AM5/17/08
to avbin-...@googlegroups.com
Author: Alex.Holkner
Date: Sat May 17 06:46:44 2008
New Revision: 32

Modified:
trunk/src/avbin.c

Log:
Byte hack on seeking to 0 doesn't seem to work that great, take it out (but
leave avcodec_flush_buffers in, as it's documented as required).

Modified: trunk/src/avbin.c
==============================================================================
--- trunk/src/avbin.c (original)
+++ trunk/src/avbin.c Sat May 17 06:46:44 2008
@@ -148,11 +148,7 @@
int i;
AVCodecContext *codec_context;

- if (!timestamp)
- av_seek_frame(file->context, -1, 0,
- AVSEEK_FLAG_ANY | AVSEEK_FLAG_BYTE);
- else
- av_seek_frame(file->context, -1, timestamp, 0);
+ av_seek_frame(file->context, -1, timestamp, 0);

for (i = 0; i < file->context->nb_streams; i++)
{

Reply all
Reply to author
Forward
0 new messages