Browse Source

flvenc: dont call avio_flush() unconditional

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 12 years ago
parent
commit
7cfaf727a1
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavformat/flvenc.c

+ 0
- 1
libavformat/flvenc.c View File

@@ -569,7 +569,6 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
pkt->pts + flv->delay + pkt->duration);
}

avio_flush(pb);
av_free(data);

return pb->error;


Loading…
Cancel
Save