1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

In ff_get_ref_perms_string() use 'u' and 'U' for representing

AV_PERM_REUSE and AV_PERM_REUSE2 flags, avoid conflict with the char
'r' used for AV_PERM_READ.

Originally committed as revision 25739 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2010-11-13 09:20:32 +00:00
parent 273231466c
commit 906eaab460

View File

@ -201,8 +201,8 @@ char *ff_get_ref_perms_string(char *buf, size_t buf_size, int perms)
perms & AV_PERM_READ ? "r" : "", perms & AV_PERM_READ ? "r" : "",
perms & AV_PERM_WRITE ? "w" : "", perms & AV_PERM_WRITE ? "w" : "",
perms & AV_PERM_PRESERVE ? "p" : "", perms & AV_PERM_PRESERVE ? "p" : "",
perms & AV_PERM_REUSE ? "r" : "", perms & AV_PERM_REUSE ? "u" : "",
perms & AV_PERM_REUSE2 ? "R" : ""); perms & AV_PERM_REUSE2 ? "U" : "");
return buf; return buf;
} }