Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in / Register
F
ffmpeg
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • submodule
  • ffmpeg
  • Repository

Switch branch/tag
  • ffmpeg
  • libavcodec
  • cbs_h264.h
Find file
BlameHistoryPermalink
  • Andreas Rheinhardt's avatar
    avcodec/cbs_h264: Automatically free SEI payload on error · f83ac5fd
    Andreas Rheinhardt authored Sep 11, 2019
    If adding an SEI message to an access unit fails, said SEI message was
    not touched, so that the caller had to free any data associated with it
    that might need to be freed. But given that ff_cbs_h264_add_sei_message
    can simply call cbs_h264_free_sei_payload, one can easily free
    the content of the SEI payload.
    
    This fixes a memleak when inserting a user data unregistered string for
    h264_metadata fails.
    Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
    f83ac5fd
cbs_h264.h 14.7 KB
EditWeb IDE

Replace cbs_h264.h

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.