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/internal.h | |
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/internal.h')
-rw-r--r-- | libavcodec/internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 65437edc54..f57bedc8cf 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -30,6 +30,7 @@ #include "libavutil/mathematics.h" #include "libavutil/pixfmt.h" #include "avcodec.h" +#include "config.h" #define FF_SANE_NB_CHANNELS 63U @@ -161,4 +162,8 @@ int ff_get_buffer(AVCodecContext *avctx, AVFrame *frame, int flags); */ int ff_reget_buffer(AVCodecContext *avctx, AVFrame *frame); +const uint8_t *avpriv_find_start_code(const uint8_t *restrict p, + const uint8_t *end, + uint32_t *restrict state); + #endif /* AVCODEC_INTERNAL_H */ |