freebsd-ports/multimedia/ffmpeg0/files/patch-libavutil-common.h
William Grzybowski 54f9d181ed ffmpeg is a hyper fast realtime audio/video encoder, a streaming
server and a generic audio and video file converter.

It can convert a standard video source into several file formats
based on DCT/motion compensation encoding. Sound is compressed in
MPEG audio layer 2 or using an AC3 compatible stream.

What makes ffmpeg interesting ?
- Simple and efficient video encoder: outputs MPEG1, H263, Real
  Video(tm), MPEG4, DIVX and MJPEG compatible bitstreams using the
  same encoder core.
- Hyper fast MPEG audio layer 2 compression (50 times faster than
  realtime on a K6 500).
[snip -> rest on website below]

ffmpeg is made of two programs:
* ffmpeg: soft VCR which encodes in real time to several formats.
  It can also encode from any supported input file format to any
  input supported format.
* ffserver: high performance live broadcast streaming server based
  on the ffmpeg core encoders.

WWW: http://ffmpeg.mplayerhq.hu/
2013-10-08 19:24:30 +00:00

13 lines
387 B
C

--- libavutil/common.h.orig 2010-04-26 23:01:38.000000000 +0200
+++ libavutil/common.h 2010-07-10 16:06:27.038027901 +0200
@@ -36,6 +36,10 @@
#include <string.h>
#include "attributes.h"
+#ifndef UINT64_C
+#define UINT64_C(c) (c ## UL)
+#endif
+
//rounded division & shift
#define RSHIFT(a,b) ((a) > 0 ? ((a) + ((1<<(b))>>1))>>(b) : ((a) + ((1<<(b))>>1)-1)>>(b))
/* assume b>0 */