]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/framecrcenc.c
Move the functions in h264pred.c into a new file h264pred_internal.h.
[ffmpeg] / libavformat / framecrcenc.c
index 26ede954959c1c0ce39260b3301cffe7f1f504c7..dcdfac882a134ed67d85dfc6dc48913b7a257a36 100644 (file)
@@ -29,7 +29,7 @@ static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
 
     snprintf(buf, sizeof(buf), "%d, %"PRId64", %d, 0x%08x\n", pkt->stream_index, pkt->dts, pkt->size, crc);
     avio_write(s->pb, buf, strlen(buf));
-    put_flush_packet(s->pb);
+    avio_flush(s->pb);
     return 0;
 }