You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
mkvtimestamp v2 muxer: remove unneeded prefixes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "avformat.h"
|
||||
|
||||
static int timecode_v2_write_header(AVFormatContext *s)
|
||||
static int write_header(AVFormatContext *s)
|
||||
{
|
||||
static const char *header = "# timecode format v2\n";
|
||||
put_buffer(s->pb, header, strlen(header));
|
||||
@@ -29,7 +29,7 @@ static int timecode_v2_write_header(AVFormatContext *s)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int timecode_v2_write_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
static int write_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
{
|
||||
char buf[256];
|
||||
if (pkt->stream_index)
|
||||
@@ -48,6 +48,6 @@ AVOutputFormat ff_timecode_v2_muxer = {
|
||||
0,
|
||||
CODEC_ID_NONE,
|
||||
CODEC_ID_RAWVIDEO,
|
||||
timecode_v2_write_header,
|
||||
timecode_v2_write_packet,
|
||||
write_header,
|
||||
write_packet,
|
||||
};
|
||||
|
Reference in New Issue
Block a user