aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-11-13 09:20:32 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-11-13 09:20:32 +0000
commit906eaab46042f6fc073697679d6d24c8c2592fe3 (patch)
tree716f7453d6acd1c783b596b00d608af9b0ef6d5d /libavfilter/avfilter.c
parent273231466c5c56ee5b67098ecc5c55549ce65941 (diff)
downloadffmpeg-906eaab46042f6fc073697679d6d24c8c2592fe3.tar.gz
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
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r--libavfilter/avfilter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index e8f536a102..a761c81cfc 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -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_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;
}