mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 03:28:27 +00:00
indent
Originally committed as revision 13251 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
fdf35f265a
commit
19757f6169
@ -141,10 +141,10 @@ char *av_strdup(const char *s)
|
||||
{
|
||||
char *ptr= NULL;
|
||||
if(s){
|
||||
int len = strlen(s) + 1;
|
||||
ptr = av_malloc(len);
|
||||
if (ptr)
|
||||
memcpy(ptr, s, len);
|
||||
int len = strlen(s) + 1;
|
||||
ptr = av_malloc(len);
|
||||
if (ptr)
|
||||
memcpy(ptr, s, len);
|
||||
}
|
||||
return ptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user