avformat/mov: stop using deprecated codec flags
authorJames Almer <jamrial@gmail.com>
Sun, 26 Mar 2017 00:36:10 +0000 (21:36 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 26 Mar 2017 00:37:40 +0000 (21:37 -0300)
Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/mov.c

index 41bf21d8c35eb7bce0a7bf673a08578122ac5aec..2fce5a68352ae0a5a61a3f03ddc6e17ef1792828 100644 (file)
@@ -873,7 +873,7 @@ static int mov_read_ddts(MOVContext *c, AVIOContext *pb, MOVAtom atom)
     uint32_t channel_layout_code = 0;
     GetBitContext gb;
 
-    buf = av_malloc(ddts_size + FF_INPUT_BUFFER_PADDING_SIZE);
+    buf = av_malloc(ddts_size + AV_INPUT_BUFFER_PADDING_SIZE);
     if (!buf) {
         return AVERROR(ENOMEM);
     }