summaryrefslogtreecommitdiff
path: root/libavformat/timecode_v2.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-27 01:46:54 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-11-13 05:16:54 +0100
commit17c95361e92e2b223eb33c137c05ff8a6f4347fd (patch)
tree8728a21b9bf287b0cf09f1f9372de286b803448f /libavformat/timecode_v2.c
parent7ea77a61979612488d6058a35b1af16fde9c4ffb (diff)
mkvtimestamp v2 muxer: remove unneeded prefixes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/timecode_v2.c')
-rw-r--r--libavformat/timecode_v2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/timecode_v2.c b/libavformat/timecode_v2.c
index f41e6569b9..c8c4cf7774 100644
--- a/libavformat/timecode_v2.c
+++ b/libavformat/timecode_v2.c
@@ -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,
};