diff options
author | Paul B Mahol <onemda@gmail.com> | 2016-04-08 13:19:00 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2016-04-08 13:19:00 +0200 |
commit | 259879d32d124c60ef868e17e419c7c7c287674a (patch) | |
tree | 88bd1291ffc2d50b1fb1d80469e0980204579cc8 | |
parent | 1490682bcb0fe359e05b85bb7198bb87be686054 (diff) | |
download | ffmpeg-259879d32d124c60ef868e17e419c7c7c287674a.tar.gz |
avformat/nistspheredec: fix silly bug
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavformat/nistspheredec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nistspheredec.c b/libavformat/nistspheredec.c index b95a06d29c..542bcd1adb 100644 --- a/libavformat/nistspheredec.c +++ b/libavformat/nistspheredec.c @@ -112,7 +112,7 @@ static int nist_read_header(AVFormatContext *s) sscanf(buffer, "%*s %*s %"SCNd32, &st->codec->bits_per_coded_sample); } else { char key[32], value[32]; - if (sscanf(buffer, "%31s %*s %31s", key, value) == 3) { + if (sscanf(buffer, "%31s %*s %31s", key, value) == 2) { av_dict_set(&s->metadata, key, value, AV_DICT_APPEND); } else { av_log(s, AV_LOG_ERROR, "Failed to parse '%s' as metadata\n", buffer); |