mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-14 19:10:09 +01:00
avcodec/defs: Add AV_PROFILE_* defines, deprecate FF_PROFILE_* defines
These defines are also used in other contexts than just AVCodecContext ones, e.g. in libavformat. Furthermore, given that these defines are public, the AV-prefix is the right one, so deprecate (and not just move) the FF-macros. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -59,9 +59,9 @@
|
||||
#include "libavutil/stereo3d.h"
|
||||
|
||||
#include "libavcodec/av1.h"
|
||||
#include "libavcodec/avcodec.h"
|
||||
#include "libavcodec/bytestream.h"
|
||||
#include "libavcodec/codec_desc.h"
|
||||
#include "libavcodec/defs.h"
|
||||
#include "libavcodec/xiph.h"
|
||||
#include "libavcodec/mpeg4audio.h"
|
||||
|
||||
@@ -1154,11 +1154,11 @@ static int mkv_assemble_native_codecprivate(AVFormatContext *s, AVIOContext *dyn
|
||||
case AV_CODEC_ID_ARIB_CAPTION: {
|
||||
unsigned stream_identifier, data_component_id;
|
||||
switch (par->profile) {
|
||||
case FF_PROFILE_ARIB_PROFILE_A:
|
||||
case AV_PROFILE_ARIB_PROFILE_A:
|
||||
stream_identifier = 0x30;
|
||||
data_component_id = 0x0008;
|
||||
break;
|
||||
case FF_PROFILE_ARIB_PROFILE_C:
|
||||
case AV_PROFILE_ARIB_PROFILE_C:
|
||||
stream_identifier = 0x87;
|
||||
data_component_id = 0x0012;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user