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
  • libavformat
  • rtpenc_mpegts.c
Find file
BlameHistoryPermalink
  • Pan Bian's avatar
    libavformat/rtpenc_mpegts: check avformat_new_stream() return value · 5b4baf15
    Pan Bian authored Nov 27, 2017
    The function avformat_new_stream() returns a NULL pointer on failure.
    However, in function rtp_mpegts_write_header(), its return value is not
    validated before it is dereferenced. Check the return value against NULL
    to avoid potential NULL dereference.
    Signed-off-by: 's avatarPan Bian <bianpan2016@163.com>
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    5b4baf15
rtpenc_mpegts.c 5.03 KB
EditWeb IDE

Replace rtpenc_mpegts.c

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.