summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann <johannkoenig@google.com>2016-09-13 14:03:23 -0700
committerJohann <johannkoenig@google.com>2016-09-13 14:25:40 -0700
commitbce23ab36b6aa0e5741f60e858a299971526d8d8 (patch)
tree2dfcb1c12e2d415b5fd06392de42e657ee8f1c5b
parent421f376568b2b07a43a93fb055f7e2c48d111a0a (diff)
downloadlibvpx-bce23ab36b6aa0e5741f60e858a299971526d8d8.tar
libvpx-bce23ab36b6aa0e5741f60e858a299971526d8d8.tar.gz
libvpx-bce23ab36b6aa0e5741f60e858a299971526d8d8.tar.bz2
libvpx-bce23ab36b6aa0e5741f60e858a299971526d8d8.zip
webmenc: remove unused 'fps' parameter
Cleans -Wextra/-Wunused-parameter warning: warning: unused parameter ‘fps’ Change-Id: Ia5f9338f11ae8d0708a87c6d4e7d7e924fc3b19b
-rw-r--r--vpxenc.c5
-rw-r--r--webmenc.cc1
-rw-r--r--webmenc.h1
3 files changed, 2 insertions, 5 deletions
diff --git a/vpxenc.c b/vpxenc.c
index baae87230..c7b4f08ff 100644
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -1432,9 +1432,8 @@ static void open_output_file(struct stream_state *stream,
#if CONFIG_WEBM_IO
if (stream->config.write_webm) {
stream->webm_ctx.stream = stream->file;
- write_webm_file_header(&stream->webm_ctx, cfg, &global->framerate,
- stream->config.stereo_fmt, global->codec->fourcc,
- pixel_aspect_ratio);
+ write_webm_file_header(&stream->webm_ctx, cfg, stream->config.stereo_fmt,
+ global->codec->fourcc, pixel_aspect_ratio);
}
#else
(void)pixel_aspect_ratio;
diff --git a/webmenc.cc b/webmenc.cc
index 52516a6ae..66606674b 100644
--- a/webmenc.cc
+++ b/webmenc.cc
@@ -22,7 +22,6 @@ const int kVideoTrackNumber = 1;
void write_webm_file_header(struct WebmOutputContext *webm_ctx,
const vpx_codec_enc_cfg_t *cfg,
- const struct vpx_rational *fps,
stereo_format_t stereo_fmt, unsigned int fourcc,
const struct VpxRational *par) {
mkvmuxer::MkvWriter *const writer = new mkvmuxer::MkvWriter(webm_ctx->stream);
diff --git a/webmenc.h b/webmenc.h
index 1ae7786cd..b4a9e357b 100644
--- a/webmenc.h
+++ b/webmenc.h
@@ -39,7 +39,6 @@ typedef enum stereo_format {
void write_webm_file_header(struct WebmOutputContext *webm_ctx,
const vpx_codec_enc_cfg_t *cfg,
- const struct vpx_rational *fps,
stereo_format_t stereo_fmt, unsigned int fourcc,
const struct VpxRational *par);