Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void m4sl_cb(....)
- {
- ....
- if (ts->pids[pid]->es_id != mp4_descr[i].es_id)
- continue;
- if (!(ts->pids[pid] && ts->pids[pid]->type == MPEGTS_PES)) {
- ....
- }
- This suspicious code was found in FFMpeg project by PVS-Studio static code analyzer.
- Warning message is:
- V595 The 'ts->pids[pid]' pointer was utilized before it was verified against nullptr. Check lines: 1377, 1379. mpegts.c 1377
- PVS-Studio is a static analyzer for detecting bugs in the source code of applications written in C, C++, C++11, C++/CX. Site: http://www.viva64.com/en/pvs-studio/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement