avio_w8(pb,0xf7);/* flags: global clut, 256 entries */avio_w8(pb,0x1f);/* background color index */avio_w8(pb,0);/* aspect ratio *//* the global palette */if(!palette) {avio_write(pb, (constunsignedchar*)gif_clut,216*3);for(i=0;i<((256-216)*3);i++) avio_w8(pb,...
avio_write_marker(s->pb, AV_NOPTS_VALUE, AVIO_DATA_MARKER_FLUSH_POINT); return 0; } @@ -5241,7 +5241,7 @@ static int mov_flush_fragment(AVFormatContext *s, int force) } if (write_moof) { avio_flush(s->pb); avio_write_marker(s->pb, AV_NOPTS_VALUE, AVIO_DATA_MARKER_FLUSH...
avio_write(s->pb, buf, strlen(buf)); avio_flush(s->pb); return 0; }3 changes: 0 additions & 3 deletions 3 libavformat/ffmenc.c Original file line numberDiff line numberDiff line change @@ -226,15 +226,12 @@ static int ffm_write_packet(AVFormatContext *s, AVPacket *pkt) stat...