提交 c062aa8d 编写于 作者: S Sven Hesse 提交者: Michael Niedermayer

xmv: Remove superfluous zeroing of already zero'd data

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 730333ef
......@@ -226,17 +226,8 @@ static int xmv_read_header(AVFormatContext *s,
/* Initialize the packet context */
xmv->next_packet_offset = avio_tell(pb);
xmv->next_packet_size = this_packet_size - xmv->next_packet_offset;
xmv->this_packet_size = 0;
xmv->video.current_frame = 0;
xmv->video.frame_count = 0;
xmv->video.pts = 0;
xmv->video.last_pts = 0;
xmv->current_stream = 0;
xmv->stream_count = xmv->audio_track_count + 1;
xmv->next_packet_size = this_packet_size - xmv->next_packet_offset;
xmv->stream_count = xmv->audio_track_count + 1;
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册