Mercurial > libavformat.hg
comparison ffm.c @ 3311:c603ff471631 libavformat
10l, fix compilation
author | bcoudurier |
---|---|
date | Wed, 21 May 2008 22:53:52 +0000 |
parents | 66d5e19f7b77 |
children | 20ea7e918398 |
comparison
equal
deleted
inserted
replaced
3310:66d5e19f7b77 | 3311:c603ff471631 |
---|---|
258 AV_WB24(header+2, size); | 258 AV_WB24(header+2, size); |
259 AV_WB24(header+5, pkt->duration); | 259 AV_WB24(header+5, pkt->duration); |
260 ffm_write_data(s, header, FRAME_HEADER_SIZE, pts, 1); | 260 ffm_write_data(s, header, FRAME_HEADER_SIZE, pts, 1); |
261 ffm_write_data(s, pkt->data, size, pts, 0); | 261 ffm_write_data(s, pkt->data, size, pts, 0); |
262 | 262 |
263 fst->pts += duration; | 263 fst->pts += pkt->duration; |
264 return 0; | 264 return 0; |
265 } | 265 } |
266 | 266 |
267 static int ffm_write_trailer(AVFormatContext *s) | 267 static int ffm_write_trailer(AVFormatContext *s) |
268 { | 268 { |