Commit c10bccb3 authored by michael's avatar michael

10l (forgot sample_size)

Should fix fate.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16133 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b8e933c8
......@@ -671,7 +671,8 @@ static int avi_read_packet(AVFormatContext *s, AVPacket *pkt)
else{
i= av_index_search_timestamp(best_st, best_ts, AVSEEK_FLAG_ANY);
if(i>=0)
best_ast->frame_offset= best_st->index_entries[i].timestamp;
best_ast->frame_offset= best_st->index_entries[i].timestamp
* FFMAX(1, best_ast->sample_size);
}
// av_log(NULL, AV_LOG_DEBUG, "%d\n", i);
......
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