summaryrefslogtreecommitdiff
path: root/libavformat/dashenc.c
diff options
context:
space:
mode:
authorKarthick Jeyapal <kjeyapal@akamai.com>2018-09-17 13:33:48 +0530
committerJames Almer <jamrial@gmail.com>2018-09-17 14:29:40 -0300
commit7ff3d2594f9257ace9955086ccace0b36955fed3 (patch)
treea8ec023974da83e5aa598578786e1138452f1654 /libavformat/dashenc.c
parentb0cfb2cfb998a9c8ae566e2c15096d7b078b9071 (diff)
avformat/dashenc: Format VP9 level as decimal instead of hexadecimal
Commit ID 63c69d51c7532fb6c2460076329b50ec51a0f290 fixed the bug in vpcc, get_vp9_level() function, causing this change. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/dashenc.c')
-rw-r--r--libavformat/dashenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 87e31e25fc..a02a84e5ae 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -211,7 +211,7 @@ static void set_vp9_codec_str(AVFormatContext *s, AVCodecParameters *par,
VPCC vpcc;
int ret = ff_isom_get_vpcc_features(s, par, frame_rate, &vpcc);
if (ret == 0) {
- av_strlcatf(str, size, "vp09.%02x.%02x.%02x",
+ av_strlcatf(str, size, "vp09.%02x.%02d.%02x",
vpcc.profile, vpcc.level, vpcc.bitdepth);
} else {
// Default to just vp9 in case of error while finding out profile or level