This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 0519bc5df62b682d709b6d0f794a50c8688ea896 Author: Rainbaby <[email protected]> AuthorDate: Fri Aug 28 16:18:08 2026 +0900 Commit: Peter Ross <[email protected]> CommitDate: Mon Nov 2 22:18:06 2026 +0000 avformat/cavsvideodec: use the AV_PROFILE_CAVS_* constants Signed-off-by: Rainbaby <[email protected]> --- libavformat/cavsvideodec.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libavformat/cavsvideodec.c b/libavformat/cavsvideodec.c index b89851fbbb..5c2ed4a94f 100644 --- a/libavformat/cavsvideodec.c +++ b/libavformat/cavsvideodec.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavcodec/defs.h" #include "libavcodec/startcode.h" #include "avformat.h" #include "rawdec.h" @@ -28,8 +29,6 @@ #define CAVS_UNDEF_START_CODE 0x000001b4 #define CAVS_PIC_PB_START_CODE 0x000001b6 #define CAVS_VIDEO_EDIT_CODE 0x000001b7 -#define CAVS_PROFILE_JIZHUN 0x20 // AVS1 P2 -#define CAVS_PROFILE_GUANGDIAN 0x48 // AVS1 P16/AVS+ static int cavsvideo_probe(const AVProbeData *p) { @@ -50,8 +49,8 @@ static int cavsvideo_probe(const AVProbeData *p) } if (code == CAVS_SEQ_START_CODE) { seq++; - /* check for the only currently supported profile */ - if (*ptr != CAVS_PROFILE_JIZHUN && *ptr != CAVS_PROFILE_GUANGDIAN) + if (*ptr != AV_PROFILE_CAVS_JIZHUN && + *ptr != AV_PROFILE_CAVS_BROADCASTING) return 0; } else if ((code == CAVS_PIC_I_START_CODE) || (code == CAVS_PIC_PB_START_CODE)) { -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
