mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-17 21:14:47 +00:00
Merge commit '24eb3c791606fe98a1591c13a8b2ba6c342bb3b5'
* commit '24eb3c791606fe98a1591c13a8b2ba6c342bb3b5': rtmpproto: Avoid using uninitialized memory Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
ca9d7c57f4
@ -2511,9 +2511,9 @@ reconnect:
|
||||
(!strcmp(fname + len - 4, ".f4v") ||
|
||||
!strcmp(fname + len - 4, ".mp4"))) {
|
||||
memcpy(rt->playpath, "mp4:", 5);
|
||||
} else if (len >= 4 && !strcmp(fname + len - 4, ".flv")) {
|
||||
fname[len - 4] = '\0';
|
||||
} else {
|
||||
if (len >= 4 && !strcmp(fname + len - 4, ".flv"))
|
||||
fname[len - 4] = '\0';
|
||||
rt->playpath[0] = 0;
|
||||
}
|
||||
av_strlcat(rt->playpath, fname, PLAYPATH_MAX_LENGTH);
|
||||
|
Loading…
Reference in New Issue
Block a user