mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/h264_parse: Move ff_h264_get_profile() to h264_ps.h
It is a more fitting place for it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
c3ff716808
commit
b2421c4f26
@ -124,11 +124,6 @@ int ff_h264_decode_extradata(const uint8_t *data, int size, H264ParamSets *ps,
|
||||
int *is_avc, int *nal_length_size,
|
||||
int err_recognition, void *logctx);
|
||||
|
||||
/**
|
||||
* compute profile from sps
|
||||
*/
|
||||
int ff_h264_get_profile(const SPS *sps);
|
||||
|
||||
static av_always_inline uint32_t pack16to32(unsigned a, unsigned b)
|
||||
{
|
||||
#if HAVE_BIGENDIAN
|
||||
|
@ -152,6 +152,11 @@ typedef struct H264ParamSets {
|
||||
int overread_warning_printed[2];
|
||||
} H264ParamSets;
|
||||
|
||||
/**
|
||||
* compute profile from sps
|
||||
*/
|
||||
int ff_h264_get_profile(const SPS *sps);
|
||||
|
||||
/**
|
||||
* Decode SPS
|
||||
*/
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "decode.h"
|
||||
#include "h264_parse.h"
|
||||
#include "h264_ps.h"
|
||||
#include "hevc_parse.h"
|
||||
#include "hwconfig.h"
|
||||
#include "internal.h"
|
||||
|
Loading…
Reference in New Issue
Block a user