Commit 44ceb1df authored by ramiro's avatar ramiro

Merge declaration and initialization.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13672 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 24c9a1c2
......@@ -2496,9 +2496,8 @@ static void truncate_ts(AVStream *st, AVPacket *pkt){
int av_write_frame(AVFormatContext *s, AVPacket *pkt)
{
int ret;
int ret = compute_pkt_fields2(s->streams[pkt->stream_index], pkt);
ret=compute_pkt_fields2(s->streams[pkt->stream_index], pkt);
if(ret<0 && !(s->oformat->flags & AVFMT_NOTIMESTAMPS))
return ret;
......
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