The branch, master has been updated
       via  6231fa7fb7c196d374420feb19854f661c5e9b85 (commit)
      from  78a16e42bdb7faa6d5180b7ecf34c8f8ad0dc2c5 (commit)


- Log -----------------------------------------------------------------
commit 6231fa7fb7c196d374420feb19854f661c5e9b85
Author:     James Almer <[email protected]>
AuthorDate: Sun Oct 5 22:23:51 2025 -0300
Commit:     James Almer <[email protected]>
CommitDate: Sun Oct 5 22:23:51 2025 -0300

    avcodec/av1dec: don't emit a warning when parsing isobmff style extradata
    
    No OBUs may be present and it's a valid scenario, so only warn when parsing 
raw
    extradata.
    
    Signed-off-by: James Almer <[email protected]>

diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c
index 37349f4add..d4ceb5ef09 100644
--- a/libavcodec/av1dec.c
+++ b/libavcodec/av1dec.c
@@ -893,7 +893,8 @@ static av_cold int av1_decode_init(AVCodecContext *avctx)
 
         seq = ((CodedBitstreamAV1Context 
*)(s->cbc->priv_data))->sequence_header;
         if (!seq) {
-            av_log(avctx, AV_LOG_WARNING, "No sequence header available.\n");
+            if (!(avctx->extradata[0] & 0x80))
+                av_log(avctx, AV_LOG_WARNING, "No sequence header available in 
extradata.\n");
             goto end;
         }
 

-----------------------------------------------------------------------

Summary of changes:
 libavcodec/av1dec.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to