mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 05:50:43 +00:00
mkvtimestamp v2 muxer: remove unneeded prefixes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7ea77a6197
commit
17c95361e9
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user