mirror of https://git.ffmpeg.org/ffmpeg.git
fix size of header data
Originally committed as revision 14015 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ae10e1fd3d
commit
6d083dd7e9
|
@ -189,7 +189,7 @@ static int ffm_write_header(AVFormatContext *s)
|
||||||
static int ffm_write_packet(AVFormatContext *s, AVPacket *pkt)
|
static int ffm_write_packet(AVFormatContext *s, AVPacket *pkt)
|
||||||
{
|
{
|
||||||
int64_t dts;
|
int64_t dts;
|
||||||
uint8_t header[FRAME_HEADER_SIZE];
|
uint8_t header[FRAME_HEADER_SIZE+4];
|
||||||
int header_size = FRAME_HEADER_SIZE;
|
int header_size = FRAME_HEADER_SIZE;
|
||||||
|
|
||||||
dts = s->timestamp + pkt->dts;
|
dts = s->timestamp + pkt->dts;
|
||||||
|
|
Loading…
Reference in New Issue