mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 02:20:07 +01:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user