lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideo

Also move the declaration to internal.h, and add restrict qualifiers
to the declaration (as in the implementation).

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö
2013-03-25 14:11:41 +02:00
parent 75644335b9
commit f1e9398621
9 changed files with 22 additions and 16 deletions

View File

@@ -22,6 +22,7 @@
#include "parser.h"
#include "mpegvideo.h"
#include "internal.h"
struct MpvParseContext {
ParseContext pc;
@@ -48,7 +49,7 @@ static void mpegvideo_extract_headers(AVCodecParserContext *s,
while (buf < buf_end) {
start_code= -1;
buf= avpriv_mpv_find_start_code(buf, buf_end, &start_code);
buf= avpriv_find_start_code(buf, buf_end, &start_code);
bytes_left = buf_end - buf;
switch(start_code) {
case PICTURE_START_CODE: