renames RSHIFT to ROUNDED_RSHIFT, then updates all
uses of the macro to use the new name. (These are all located
in three codec files under libavcodec/.)
Signed-off-by: FeRD (Frank Dana)
---
libavcodec/mpeg4videodec.c | 4 ++--
libavcodec/vp3.c | 16
libavcodec/vp56.c
The compiled libavcodec/tests/codec_desc was left out of that dir's
.gitignore when the test was added, so it shows up in 'git status'
as an untracked file if it's been built.
Signed-off-by: FeRD (Frank Dana)
---
libavcodec/tests/.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git
on without rounding (see e.g. FORTRAN, IBM XL C/C++), this
seems needlessly confusing.
This change renames RSHIFT to ROUNDED_RSHIFT, matching the naming
style of the ROUNDED_DIV macro.
Signed-off-by: FeRD (Frank Dana)
---
libavutil/common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Three files in libavcodec/ use the RSHIFT macro from libavutil:
- mpeg4videodec.c
- vp3.c
- vp56.c
All instances of RSHIFT are updated to follow the name-change
in libavutil/common.h (previous commit).
Signed-off-by: FeRD (Frank Dana)
---
libavcodec/mpeg4videodec.c | 4 ++--
libavcodec/vp3.c
to a conflict with
the RSHIFT macro in the Ruby source, which does perform a
standard bitwise right-shift) can be found at [1].
[1]: https://github.com/OpenShot/libopenshot/issues/164
Signed-off-by: FeRD (Frank Dana)
___
ffmpeg-devel mailing list
ffmpeg-devel