[FFmpeg-devel] [PATCH]Support decoding Avid 1:1 10-bit RGB Packer

Paul B Mahol onemda at gmail.com
Wed Jan 4 03:46:24 CET 2012


diff --git a/libavcodec/r210dec.c b/libavcodec/r210dec.c
index 18086c6..b3129a2 100644
--- a/libavcodec/r210dec.c
+++ b/libavcodec/r210dec.c
@@ -20,6 +20,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */

+#include "libavutil/intreadwrite.h"

There is av_le2ne32(), no need for new header.

Note that r210 decoder needs width to be aligned.
I dunno if r10k and AVrp have same limitation.


More information about the ffmpeg-devel mailing list