freebsd-ports/multimedia/zoneminder/files/patch-src_zm_sdp.cpp
Boris Samorodov da9c4172df Zoneminder is an all-in-one GPL'd security and surveillance camera solution.
Fully web-based system for viewing and analyzing security camera feeds.

WWW: http://www.zoneminder.com/
2011-04-29 14:22:37 +00:00

11 lines
469 B
C++

--- src/zm_sdp.cpp.orig 2009-05-28 12:45:49.000000000 +0400
+++ src/zm_sdp.cpp 2011-04-08 17:48:07.394806320 +0400
@@ -287,7 +287,7 @@ SessionDescriptor::SessionDescriptor( co
AVFormatContext *SessionDescriptor::generateFormatContext() const
{
- AVFormatContext *formatContext = avformat_alloc_context();
+ AVFormatContext *formatContext = av_alloc_format_context();
strncpy( formatContext->filename, mUrl.c_str(), sizeof(formatContext->filename) );