]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libschroedingerdec.c
libx264: add support for nal-hrd, required for Blu-ray streams.
[ffmpeg] / libavcodec / libschroedingerdec.c
index 77f42899c1db96cf0b6925033318e402ebf730bb..110e8d0ae1bdf7f71325eba6631d3cccde7f6ed0 100644 (file)
 * (http://dirac.sourceforge.net/specification.html).
 */
 
+#include <string.h>
+
 #include "libavutil/imgutils.h"
+#include "libavutil/internal.h"
 #include "libavutil/intreadwrite.h"
+#include "libavutil/mem.h"
 #include "avcodec.h"
 #include "libschroedinger.h"
 
@@ -385,7 +389,7 @@ static void libschroedinger_flush(AVCodecContext *avccontext)
 AVCodec ff_libschroedinger_decoder = {
     .name           = "libschroedinger",
     .type           = AVMEDIA_TYPE_VIDEO,
-    .id             = CODEC_ID_DIRAC,
+    .id             = AV_CODEC_ID_DIRAC,
     .priv_data_size = sizeof(SchroDecoderParams),
     .init           = libschroedinger_decode_init,
     .close          = libschroedinger_decode_close,