mirror of
https://github.com/mpv-player/mpv
synced 2025-01-31 04:02:06 +00:00
Fix compilation error introduced by last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17841 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1a3ec4b7e6
commit
bea8281d3d
@ -685,7 +685,7 @@ static int asf_http_parse_response(asf_http_streaming_ctrl_t *asf_http_ctrl, HTT
|
|||||||
len = (unsigned int)(end-pragma);
|
len = (unsigned int)(end-pragma);
|
||||||
}
|
}
|
||||||
if(len > sizeof(features) - 1) {
|
if(len > sizeof(features) - 1) {
|
||||||
mp_msg(MSGT_NETWORK,MSGL_WARN,MSGTR_MPDEMUX_ASF_ASFHTTPParseWarnCuttedPragma,pragma,s,sizeof(features));
|
mp_msg(MSGT_NETWORK,MSGL_WARN,MSGTR_MPDEMUX_ASF_ASFHTTPParseWarnCuttedPragma,pragma,len,sizeof(features) - 1);
|
||||||
len = sizeof(features) - 1;
|
len = sizeof(features) - 1;
|
||||||
}
|
}
|
||||||
strncpy( features, pragma, len );
|
strncpy( features, pragma, len );
|
||||||
|
Loading…
Reference in New Issue
Block a user