1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

mkvtimestamp v2 muxer: remove unneeded prefixes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2011-10-27 01:46:54 +02:00
parent 7ea77a6197
commit 17c95361e9

View File

@@ -21,7 +21,7 @@
#include "avformat.h" #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"; static const char *header = "# timecode format v2\n";
put_buffer(s->pb, header, strlen(header)); put_buffer(s->pb, header, strlen(header));
@@ -29,7 +29,7 @@ static int timecode_v2_write_header(AVFormatContext *s)
return 0; return 0;
} }
static int timecode_v2_write_packet(AVFormatContext *s, AVPacket *pkt) static int write_packet(AVFormatContext *s, AVPacket *pkt)
{ {
char buf[256]; char buf[256];
if (pkt->stream_index) if (pkt->stream_index)
@@ -48,6 +48,6 @@ AVOutputFormat ff_timecode_v2_muxer = {
0, 0,
CODEC_ID_NONE, CODEC_ID_NONE,
CODEC_ID_RAWVIDEO, CODEC_ID_RAWVIDEO,
timecode_v2_write_header, write_header,
timecode_v2_write_packet, write_packet,
}; };