mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08: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:
@@ -39,7 +39,6 @@
|
||||
#include "avcodec.h"
|
||||
#include "dsputil.h"
|
||||
#include "libavutil/opt.h"
|
||||
#include "mpegvideo.h"
|
||||
#include "thread.h"
|
||||
#include "internal.h"
|
||||
#include "bytestream.h"
|
||||
@@ -2199,9 +2198,9 @@ int avcodec_is_open(AVCodecContext *s)
|
||||
return !!s->internal;
|
||||
}
|
||||
|
||||
const uint8_t *avpriv_mpv_find_start_code(const uint8_t *restrict p,
|
||||
const uint8_t *end,
|
||||
uint32_t * restrict state)
|
||||
const uint8_t *avpriv_find_start_code(const uint8_t *restrict p,
|
||||
const uint8_t *end,
|
||||
uint32_t * restrict state)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user