diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-01-23 18:53:22 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-23 20:38:46 +0100 |
commit | f7a9b1deee24945c91eff18bbaeeb996e4d5b50c (patch) | |
tree | 1692557efe4397d436acc335df4b999d96024454 | |
parent | 14d94a19522c6710c95928bfd73064cf197214a8 (diff) | |
download | ffmpeg-f7a9b1deee24945c91eff18bbaeeb996e4d5b50c.tar.gz |
cafdec: fix regression introduced in c7579ad8e84c5
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/cafdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c index 7933cd12aa..c31aa4f077 100644 --- a/libavformat/cafdec.c +++ b/libavformat/cafdec.c @@ -198,8 +198,8 @@ static void read_info_chunk(AVFormatContext *s, int64_t size) for (i = 0; i < nb_entries; i++) { char key[32]; char value[1024]; - avio_get_str(pb, sizeof(key), key, sizeof(key)); - avio_get_str(pb, sizeof(value), value, sizeof(value)); + avio_get_str(pb, INT_MAX, key, sizeof(key)); + avio_get_str(pb, INT_MAX, value, sizeof(value)); av_dict_set(&s->metadata, key, value, 0); } } |