[FFmpeg-cvslog] r25739 - trunk/libavfilter/avfilter.c

stefano subversion
Sat Nov 13 10:20:32 CET 2010


Author: stefano
Date: Sat Nov 13 10:20:32 2010
New Revision: 25739

Log:
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.

Modified:
   trunk/libavfilter/avfilter.c

Modified: trunk/libavfilter/avfilter.c
==============================================================================
--- trunk/libavfilter/avfilter.c	Sat Nov 13 09:55:15 2010	(r25738)
+++ trunk/libavfilter/avfilter.c	Sat Nov 13 10:20:32 2010	(r25739)
@@ -201,8 +201,8 @@ char *ff_get_ref_perms_string(char *buf,
              perms & AV_PERM_READ      ? "r" : "",
              perms & AV_PERM_WRITE     ? "w" : "",
              perms & AV_PERM_PRESERVE  ? "p" : "",
-             perms & AV_PERM_REUSE     ? "r" : "",
-             perms & AV_PERM_REUSE2    ? "R" : "");
+             perms & AV_PERM_REUSE     ? "u" : "",
+             perms & AV_PERM_REUSE2    ? "U" : "");
     return buf;
 }
 



More information about the ffmpeg-cvslog mailing list