author | Jian Wang <jian.wang@amlogic.com> | 2016-11-25 11:16:24 (GMT) |
---|---|---|
committer | Jian Wang <jian.wang@amlogic.com> | 2016-11-25 11:16:24 (GMT) |
commit | 5f6b4e12b03e3f366fa50a46c0d085d08a4b6fb0 (patch) | |
tree | 68b152632b723cdb70fd8f41bd2ae907edbd1924 | |
parent | 96c19a9ec91a3fc5b8ed9b9dff4c50f5d82a31db (diff) | |
download | ffmpeg-5f6b4e12b03e3f366fa50a46c0d085d08a4b6fb0.zip ffmpeg-5f6b4e12b03e3f366fa50a46c0d085d08a4b6fb0.tar.gz ffmpeg-5f6b4e12b03e3f366fa50a46c0d085d08a4b6fb0.tar.bz2 |
PD#132693: cts: fixed mov can not get id3v2 year
Change-Id: I481bca1204fa66a75a2c0ac18aec0125d8a3143c
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index ff0d0be..0fb4dde 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -3185,7 +3185,7 @@ static int mov_read_uuid(MOVContext *c, AVIOContext *pb, MOVAtom atom) static void mov_id32_date2year(AVDictionary **m) { - AVDictionaryEntry *t; + AVDictionaryEntry *t = NULL; if (t = av_dict_get(*m, "date", t, AV_DICT_MATCH_CASE)) { av_dict_set(m, "year", t->value, 0); av_log(NULL, AV_LOG_INFO, "[%s:%d]========date:%s\n", __FUNCTION__, __LINE__, t->value); |