This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit daa210cfd7b166e01a231264ad3bdec281b8788d
Author:     Lynne <[email protected]>
AuthorDate: Sun Sep 20 13:54:01 2026 +0900
Commit:     Lynne <[email protected]>
CommitDate: Sun Sep 20 14:45:46 2026 +0900

    h264: correct the comment on the field POCs of frame_num gap dummies
    
    Hwaccels submit the field POCs of a picture, not its frame POC.
---
 libavcodec/h264_slice.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c
index ba832f8aaf..2bcb64378d 100644
--- a/libavcodec/h264_slice.c
+++ b/libavcodec/h264_slice.c
@@ -1575,9 +1575,8 @@ static int h264_field_start(H264Context *h, const 
H264SliceContext *sl,
                 if (ret < 0)
                     return ret;
                 h->short_ref[0]->poc = prev->poc + 2U;
-                /* The frame POC is all hwaccels see; leaving the field POCs
-                 * at their INT_MAX init value breaks their reference
-                 * ordering. */
+                /* The field POCs are what hwaccels see; leaving them at
+                 * their INT_MAX init value breaks their reference ordering. */
                 h->short_ref[0]->field_poc[0] = h->short_ref[0]->poc;
                 h->short_ref[0]->field_poc[1] = h->short_ref[0]->poc;
                 h->short_ref[0]->gray = prev->gray;

-- 
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]

Reply via email to