]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/dvenc.c
Fix aspect ratio.
[ffmpeg] / libavformat / dvenc.c
index 2af160f8b440cc8868cb94a8205a34b19d56c17e..0d60028182fd54c5dab6cf8a80cbe39c901f67f2 100644 (file)
@@ -380,8 +380,8 @@ static int dv_write_packet(struct AVFormatContext *s, AVPacket *pkt)
     fsize = dv_assemble_frame(s->priv_data, s->streams[pkt->stream_index],
                               pkt->data, pkt->size, &frame);
     if (fsize > 0) {
-        put_buffer(&s->pb, frame, fsize);
-        put_flush_packet(&s->pb);
+        put_buffer(s->pb, frame, fsize);
+        put_flush_packet(s->pb);
     }
     return 0;
 }