Skip to content
Snippets Groups Projects
Commit df8aa459 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

mpegts: Make sure we don't return uninitialized packets


This fixes crashes, where the demuxer could return 0 even
if the returned AVPacket isn't initialized at all. This
could happen if running into EOF or running out of probesize
with non-seekable sources.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 1b4f0857
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment