* turns out write_packet is supposed to return 0 on success, not
how many bytes were written. Originally committed as revision 2770 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
826ca10408
commit
ec26a167ee
@ -869,7 +869,7 @@ static int dv_write_packet(struct AVFormatContext *s,
|
||||
put_buffer(&s->pb, frame, fsize);
|
||||
put_flush_packet(&s->pb);
|
||||
}
|
||||
return fsize;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user