[FFmpeg-cvslog] Fix compilation after aa9d7058.

Carl Eugen Hoyos git at videolan.org
Sun Nov 2 00:44:51 CET 2014


ffmpeg | branch: release/1.2 | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sun Nov  2 00:42:48 2014 +0100| [a8fd50bb4eeb0b159c46d51000b0d6a981748d9f] | committer: Carl Eugen Hoyos

Fix compilation after aa9d7058.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a8fd50bb4eeb0b159c46d51000b0d6a981748d9f
---

 libavcodec/h264.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index ab7ee5b..8761a61 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -36,7 +36,6 @@
 #include "h264dsp.h"
 #include "h264pred.h"
 #include "h264qpel.h"
-#include "internal.h" // for avpriv_find_start_code()
 #include "rectangle.h"
 
 #define MAX_SPS_COUNT          32
@@ -975,7 +974,7 @@ static inline int find_start_code(const uint8_t *buf, int buf_size,
 {
     uint32_t state = -1;
 
-    buf_index = avpriv_find_start_code(buf + buf_index, buf + next_avc + 1, &state) - buf - 1;
+    buf_index = avpriv_mpv_find_start_code(buf + buf_index, buf + next_avc + 1, &state) - buf - 1;
 
     return FFMIN(buf_index, buf_size);
 }



More information about the ffmpeg-cvslog mailing list