Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-04-13 17:18:59 +0300
committerJames Almer <jamrial@gmail.com>2016-04-13 17:37:14 +0300
commit33aa8a62219d07f77f11f38dd71c5999e0f8e242 (patch)
tree21d539d1e58d206b6f999cdf5b173732a60d8456 /libavformat
parent89ec4d46eedf0c4876d8942ff5616a40c2641af0 (diff)
avformat/framecrc: enable new output
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/framecrcenc.c2
-rw-r--r--libavformat/uncodedframecrcenc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/framecrcenc.c b/libavformat/framecrcenc.c
index 3533c52e79..a7d729a01c 100644
--- a/libavformat/framecrcenc.c
+++ b/libavformat/framecrcenc.c
@@ -39,7 +39,7 @@ static int framecrc_write_header(struct AVFormatContext *s)
}
}
- return ff_framehash_write_header(s, 1);
+ return ff_framehash_write_header(s, 2);
}
static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
diff --git a/libavformat/uncodedframecrcenc.c b/libavformat/uncodedframecrcenc.c
index 76f8527bd9..4269015b07 100644
--- a/libavformat/uncodedframecrcenc.c
+++ b/libavformat/uncodedframecrcenc.c
@@ -121,7 +121,7 @@ static void audio_frame_cksum(AVBPrint *bp, AVFrame *frame)
static int write_header(struct AVFormatContext *s)
{
- return ff_framehash_write_header(s, 1);
+ return ff_framehash_write_header(s, 2);
}
static int write_frame(struct AVFormatContext *s, int stream_index,