zoneminder/src
Peter Keresztes Schmidt 3d2614b429 comms: Quick-fix a crash in ZM::Socket::Accept
mLocalAddr is always nullptr and not used anywhere. So just use a local variable for
the time being.
The comms types will need an API rework since the current one is rather convoluted.
Postpone fixing this properly until then.
2021-04-11 01:28:23 +02:00
..
CMakeLists.txt build: Store all generated sources in CMAKE_BINARY_DIR 2021-04-11 01:28:23 +02:00
jinclude.h
zm.cpp Convert NULL/0 to nullptr 2020-08-26 22:03:40 +02:00
zm.h Gut out zm.h since it is used only to store the self variable 2021-02-04 18:02:08 +01:00
zm_analysis_thread.cpp reintroduce Start() methods to analysis and decoding thread 2021-04-07 20:36:38 -04:00
zm_analysis_thread.h reintroduce Start() methods to analysis and decoding thread 2021-04-07 20:36:38 -04:00
zm_box.cpp Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_box.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_buffer.cpp We can use >= instead of > to avoid an unneeded reallocation. Reduce duplicated code. 2021-03-25 12:52:41 -04:00
zm_buffer.h Implement read_into with a timeout 2021-03-05 14:12:44 -05:00
zm_camera.cpp Keep track of stream last_pts. So we can at least try to sync streams 2021-03-03 12:45:05 -05:00
zm_camera.h Keep track of stream last_pts. So we can at least try to sync streams 2021-03-03 12:45:05 -05:00
zm_comms.cpp comms: Quick-fix a crash in ZM::Socket::Accept 2021-04-11 01:28:23 +02:00
zm_comms.h comms: Implement ZM::Pipe::isClosed so we have a non-abstract class 2021-04-11 01:28:23 +02:00
zm_config.cpp Replace raw mysql_query calls with the zmDb* functions 2021-03-06 00:12:18 +01:00
zm_config.h DB: Make connection initialization more predictable and avoid double-initialization 2021-02-07 13:44:41 +01:00
zm_config_data.h.in Extract generated part of zm_config.h into zm_config_data.h 2020-08-25 23:33:56 +02:00
zm_coord.cpp Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_coord.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_crypt.cpp add cast to fix compile 2021-03-26 17:03:49 -04:00
zm_crypt.h Replace deprecated C header includes with the C++ ones. 2021-02-04 05:39:03 +01:00
zm_curl_camera.cpp use .head() instead of casting the buffer 2021-03-01 16:47:18 -05:00
zm_curl_camera.h Use the power of smart pointers to manage Monitor instances 2021-02-07 21:20:45 +01:00
zm_db.cpp Implement zmDbDoUpdate which returns -mysql_errer or # of rows modified 2021-03-11 13:48:16 -05:00
zm_db.h Merge branch 'release-1.34' 2021-04-09 20:00:47 -04:00
zm_decoder_thread.cpp reintroduce Start() methods to analysis and decoding thread 2021-04-07 20:36:38 -04:00
zm_decoder_thread.h reintroduce Start() methods to analysis and decoding thread 2021-04-07 20:36:38 -04:00
zm_define.h Define printf format specifier for size_t types (SZFMTD) 2021-02-07 20:39:48 +01:00
zm_event.cpp Uwse the db queue for event updates 2021-04-09 19:45:55 -04:00
zm_event.h remove unused member sd 2021-03-31 12:06:14 -04:00
zm_eventstream.cpp Eliminate non-thread-safe calls to localtime 2021-03-21 21:42:02 +01:00
zm_eventstream.h Add override to processCommand declarations. 2021-02-22 08:15:36 -05:00
zm_exception.cpp
zm_exception.h improvements reported by cppcheck 2020-11-01 16:11:19 -05:00
zm_ffmpeg.cpp Include codec_type in stream and packet dumps 2021-03-03 15:23:58 -05:00
zm_ffmpeg.h add a simple define to make codec/codecpar access easier 2021-03-30 09:15:28 -04:00
zm_ffmpeg_camera.cpp utils: cleanup Base64Encode 2021-04-04 00:39:40 +02:00
zm_ffmpeg_camera.h Add SecondFormatContext and open it using an FFmpeg_Input 2021-03-03 09:55:57 -05:00
zm_ffmpeg_input.cpp Make Open() return 1 instead of 0 2021-03-03 09:55:57 -05:00
zm_ffmpeg_input.h Add get_video_stream and get_audio_stream. 2021-03-03 09:56:31 -05:00
zm_ffmpeg_output.cpp Use global FFMPEGInit(). Removed compiler warning 2021-02-04 14:07:37 -05:00
zm_ffmpeg_output.h add rouhged in output 2017-10-25 13:27:34 -07:00
zm_fifo.cpp Use a define when setting pipe size 2021-03-22 17:49:59 -04:00
zm_fifo.h Split zm_fifo up into zm_fifo, zm_fifo_debug and zm_fifo_stream. Implement a Fifo class to keep the filehandle open. 2021-03-01 16:47:18 -05:00
zm_fifo_debug.cpp Drop zm_thread which has been replaced by STL implementations 2021-03-04 10:55:46 +01:00
zm_fifo_debug.h Split zm_fifo up into zm_fifo, zm_fifo_debug and zm_fifo_stream. Implement a Fifo class to keep the filehandle open. 2021-03-01 16:47:18 -05:00
zm_fifo_stream.cpp Drop zm_thread which has been replaced by STL implementations 2021-03-04 10:55:46 +01:00
zm_fifo_stream.h Split zm_fifo up into zm_fifo, zm_fifo_debug and zm_fifo_stream. Implement a Fifo class to keep the filehandle open. 2021-03-01 16:47:18 -05:00
zm_file_camera.cpp Drop zm_thread which has been replaced by STL implementations 2021-03-04 10:55:46 +01:00
zm_file_camera.h Use the power of smart pointers to manage Monitor instances 2021-02-07 21:20:45 +01:00
zm_font.cpp Fix resource leak on failure to load font 2021-02-06 20:11:38 -05:00
zm_font.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_frame.cpp create a simple Frame class. Add a queue of Frames to the Event. When we get 10 of them write them out to the db. 2018-12-05 13:18:21 -05:00
zm_frame.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_group.cpp Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_group.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_image.cpp utils: some more reshuffling/grouping and formatting 2021-04-04 01:18:34 +02:00
zm_image.h do sws_scale from decoded image to Image using a member context and avframe to save a few cycles 2021-04-01 13:22:57 -04:00
zm_image_analyser.cpp
zm_image_analyser.h
zm_jpeg.cpp Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_jpeg.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_libvlc_camera.cpp utils: cleanup Split and Join 2021-04-04 00:30:18 +02:00
zm_libvlc_camera.h LibvlcCamera: Convert ThreadData with std::condition_variable 2021-03-03 23:31:53 +01:00
zm_libvnc_camera.cpp Default to port 5900 2021-03-30 11:37:00 -04:00
zm_libvnc_camera.h Code style spacing and cleanups. 2021-02-24 10:10:37 -05:00
zm_local_camera.cpp Make incorrect dimensions non-fatal if the monitor dimensions are larger than what is expected, so at least there is enough ram to store the image 2021-03-22 11:02:32 -04:00
zm_local_camera.h Use the power of smart pointers to manage Monitor instances 2021-02-07 21:20:45 +01:00
zm_logger.cpp utils: cleanup Split and Join 2021-04-04 00:30:18 +02:00
zm_logger.h logger: Move log_mutex to std::recursive_mutex 2021-03-03 23:31:53 +01:00
zm_mem_utils.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_monitor.cpp Merge branch 'release-1.34' 2021-04-09 20:00:47 -04:00
zm_monitor.h Replace char arrays with std::strings in monitor class. 2021-04-07 14:15:55 -04:00
zm_monitorstream.cpp Add checks for aliveness of monitor in streaming. If decoding disabled can't view stream. 2021-03-16 20:09:14 -04:00
zm_monitorstream.h Add override to processCommand declarations. 2021-02-22 08:15:36 -05:00
zm_mpeg.cpp Drop zm_thread which has been replaced by STL implementations 2021-03-04 10:55:46 +01:00
zm_mpeg.h Put back includes needed on FreeBSD. Fixes #3165 2021-02-22 08:03:10 -05:00
zm_packet.cpp Rework locking in ZMPacket by using a new class called ZMLockedPacket. 2021-03-15 17:05:30 -04:00
zm_packet.h Need to track locked status so that if we fail a trylock we remember it and don't try to unlock later 2021-03-30 16:14:42 -04:00
zm_packetqueue.cpp Add locking increment_it. I think we need it. 2021-04-06 13:55:09 -04:00
zm_packetqueue.h introduce packetqueue::unlock to unlock packets and notify anyone waiting. Also check for iterators pointing to packets when not keeping keyframes. Loop with waiting when we can't lock a packet 2021-04-01 11:52:28 -04:00
zm_poly.cpp Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_poly.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_regexp.cpp Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_regexp.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_remote_camera.cpp utils: cleanup Base64Encode 2021-04-04 00:39:40 +02:00
zm_remote_camera.h Use the power of smart pointers to manage Monitor instances 2021-02-07 21:20:45 +01:00
zm_remote_camera_http.cpp receiving a signal is not a reason to fail a capture. It is a reason to retry 2021-03-29 18:01:10 -04:00
zm_remote_camera_http.h Use the power of smart pointers to manage Monitor instances 2021-02-07 21:20:45 +01:00
zm_remote_camera_nvsocket.cpp Drop zm_thread which has been replaced by STL implementations 2021-03-04 10:55:46 +01:00
zm_remote_camera_nvsocket.h Use the power of smart pointers to manage Monitor instances 2021-02-07 21:20:45 +01:00
zm_remote_camera_rtsp.cpp RtspThread: Convert to std::thread 2021-03-03 23:31:53 +01:00
zm_remote_camera_rtsp.h RtspThread: Convert to std::thread 2021-03-03 23:31:53 +01:00
zm_rgb.h rgb: Convert some constant defines to constexpr 2021-03-01 00:38:21 +01:00
zm_rtp.cpp
zm_rtp.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_rtp_ctrl.cpp RtpCtrlThread: Convert to std::thread 2021-03-03 23:31:53 +01:00
zm_rtp_ctrl.h RtpCtrlThread: Add a missing include 2021-03-04 19:21:09 +01:00
zm_rtp_data.cpp RtpDataThread: Convert to std::thread 2021-03-03 23:31:53 +01:00
zm_rtp_data.h RtpDataThread: Convert to std::thread 2021-03-03 23:31:53 +01:00
zm_rtp_source.cpp Drop zm_thread which has been replaced by STL implementations 2021-03-04 10:55:46 +01:00
zm_rtp_source.h Drop zm_thread which has been replaced by STL implementations 2021-03-04 10:55:46 +01:00
zm_rtsp.cpp utils: cleanup Base64Encode 2021-04-04 00:39:40 +02:00
zm_rtsp.h RtspThread: Convert to std::thread 2021-03-03 23:31:53 +01:00
zm_rtsp_auth.cpp utils: cleanup Base64Encode 2021-04-04 00:39:40 +02:00
zm_rtsp_auth.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_rtsp_server.cpp utils: some more reshuffling/grouping and formatting 2021-04-04 01:18:34 +02:00
zm_rtsp_server_adts_source.cpp Fix compile on old avcodec 2021-03-03 09:55:57 -05:00
zm_rtsp_server_adts_source.h Fix compile on old avcodec 2021-03-03 09:55:57 -05:00
zm_rtsp_server_authenticator.h add jwt token as a std:;string 2021-03-22 17:49:59 -04:00
zm_rtsp_server_device_source.cpp Use the power of smart pointers to manage Monitor instances 2021-02-07 21:20:45 +01:00
zm_rtsp_server_device_source.h Use the power of smart pointers to manage Monitor instances 2021-02-07 21:20:45 +01:00
zm_rtsp_server_fifo_adts_source.cpp Switch from live555 to PHZ76/RtspServer 2021-03-10 11:01:04 -05:00
zm_rtsp_server_fifo_adts_source.h Switch from live555 to PHZ76/RtspServer 2021-03-10 11:01:04 -05:00
zm_rtsp_server_fifo_audio_source.cpp FifoSource: Adapt to changed xop::AVFrame API 2021-04-11 00:08:26 +02:00
zm_rtsp_server_fifo_audio_source.h Switch from live555 to PHZ76/RtspServer 2021-03-10 11:01:04 -05:00
zm_rtsp_server_fifo_h264_source.cpp set hType 2021-03-25 13:12:21 -04:00
zm_rtsp_server_fifo_h264_source.h Remove h264markers cuz it's in zm_rtsp_server_frame.h 2021-03-22 17:49:59 -04:00
zm_rtsp_server_fifo_source.cpp decrease logging of nal counts 2021-03-26 08:15:55 -04:00
zm_rtsp_server_fifo_source.h implement a nal splitter for udp transmission 2021-03-25 13:12:52 -04:00
zm_rtsp_server_fifo_video_source.cpp FifoSource: Adapt to changed xop::AVFrame API 2021-04-11 00:08:26 +02:00
zm_rtsp_server_fifo_video_source.h Switch from live555 to PHZ76/RtspServer 2021-03-10 11:01:04 -05:00
zm_rtsp_server_frame.h Allow setting the frame size 2021-03-25 13:39:07 -04:00
zm_rtsp_server_h264_device_source.cpp Fix compile on old avcodec 2021-03-03 09:55:57 -05:00
zm_rtsp_server_h264_device_source.h Use the power of smart pointers to manage Monitor instances 2021-02-07 21:20:45 +01:00
zm_rtsp_server_server_media_subsession.cpp rename numChannels to getChannels and samplingFrequency to getFrequency 2021-03-01 16:49:27 -05:00
zm_rtsp_server_server_media_subsession.h Add a fifo version of the rtsp server 2021-03-01 16:46:48 -05:00
zm_rtsp_server_thread.cpp Switch from live555 to PHZ76/RtspServer 2021-03-10 11:01:04 -05:00
zm_rtsp_server_thread.h Switch from live555 to PHZ76/RtspServer 2021-03-10 11:01:04 -05:00
zm_rtsp_server_unicast_server_media_subsession.cpp Use fifo version of code 2021-03-01 16:49:27 -05:00
zm_rtsp_server_unicast_server_media_subsession.h Replace #pragama once with include guards to be consistent 2021-02-04 18:02:08 +01:00
zm_sdp.cpp utils: cleanup Split and Join 2021-04-04 00:30:18 +02:00
zm_sdp.h Fix warnings reported by -Wignored-qualifiers 2021-02-26 19:31:32 +01:00
zm_sendfile.h spacing 2020-09-07 13:28:45 -04:00
zm_signal.cpp Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_signal.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_storage.cpp Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_storage.h Fix warnings reported by -Wignored-qualifiers 2021-02-26 19:31:32 +01:00
zm_stream.cpp change log level to debug when monitor is not decoding 2021-03-23 10:32:59 -04:00
zm_stream.h Fix warnings reported by -Wmissing-field-initializers 2021-02-26 22:46:09 +01:00
zm_swscale.cpp swscale is a problem. When to use alignment/padding? Defaulting to alignment=1 makes libvnc work, but is less performant. Some scale operations require padding. 2021-02-24 10:10:37 -05:00
zm_swscale.h add SWSCale::GetBufferSize to reduce duplicated lines of code. Makes input buffer size not have to match the aligned size. Reading from doesn't generally cause a crash. 2021-02-18 13:47:27 -05:00
zm_time.cpp
zm_time.h Cleanup and reorganize includes 2021-02-04 18:02:01 +01:00
zm_user.cpp utils: cleanup Split and Join 2021-04-04 00:30:18 +02:00
zm_user.h Fix warnings reported by -Wignored-qualifiers 2021-02-26 19:31:32 +01:00
zm_utils.cpp utils: remove unused curl include 2021-04-04 01:18:34 +02:00
zm_utils.h utils: some more reshuffling/grouping and formatting 2021-04-04 01:18:34 +02:00
zm_videostore.cpp Add special case for older ffmpeg that has different AV_CODEC define numbers 2021-03-30 14:28:40 -04:00
zm_videostore.h Deprecate video_in_stream_index and audio_in_stream_index as they are not useful 2021-03-03 12:03:36 -05:00
zm_zone.cpp Replace raw mysql_query calls with the zmDb* functions 2021-03-06 00:12:18 +01:00
zm_zone.h rgb: Convert some constant defines to constexpr 2021-03-01 00:38:21 +01:00
zmc.cpp utils: some more reshuffling/grouping and formatting 2021-04-04 01:18:34 +02:00
zms.cpp utils: some more reshuffling/grouping and formatting 2021-04-04 01:18:34 +02:00
zmu.cpp Eliminate non-thread-safe calls to localtime 2021-03-21 21:42:02 +01:00