diff options
author | Martin Storsjö <martin@martin.st> | 2013-03-25 14:11:41 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-03-26 09:50:02 +0200 |
commit | f1e9398621af0bc9d166014e4ce6996bb4f141d0 (patch) | |
tree | f4a7c9b8055d6fa5852bbbc53bba9444f137e36c /libavcodec/mpegvideo_parser.c | |
parent | 75644335b907919057960716508477239c26fed4 (diff) | |
download | ffmpeg-f1e9398621af0bc9d166014e4ce6996bb4f141d0.tar.gz |
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>
Diffstat (limited to 'libavcodec/mpegvideo_parser.c')
-rw-r--r-- | libavcodec/mpegvideo_parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_parser.c b/libavcodec/mpegvideo_parser.c index 051796e0c0..d215a2fe5a 100644 --- a/libavcodec/mpegvideo_parser.c +++ b/libavcodec/mpegvideo_parser.c @@ -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: |