Browse Source

avformat/flvdec: increase buffer size for parsing metadata string key

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Michael Niedermayer 10 years ago
parent
commit
b2fecce3c1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/flvdec.c

+ 1
- 1
libavformat/flvdec.c View File

@@ -558,7 +558,7 @@ static int flv_read_metabody(AVFormatContext *s, int64_t next_pos)
int i; int i;
// only needs to hold the string "onMetaData". // only needs to hold the string "onMetaData".
// Anything longer is something we don't want. // Anything longer is something we don't want.
char buffer[11];
char buffer[32];


astream = NULL; astream = NULL;
vstream = NULL; vstream = NULL;


Loading…
Cancel
Save