aboutsummaryrefslogtreecommitdiffstats
path: root/ffserver.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-08 08:27:26 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-08 08:27:26 +0000
commit8e2fd8e1d424f3dda8b1966733a32c3842008896 (patch)
treed74f6902e7fb46134dd140744b5f25af9e557a1d /ffserver.c
parent88a2896520f667461e7e9ef089d17954fe4ff1d2 (diff)
downloadffmpeg-8e2fd8e1d424f3dda8b1966733a32c3842008896.tar.gz
Replace the calls to the deprecated av_alloc_format_context() with
corresponding calls to avformat_alloc_context(). Originally committed as revision 17048 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffserver.c b/ffserver.c
index 11088601fe..223f1a00a0 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -2711,7 +2711,7 @@ static int prepare_sdp_description(FFStream *stream, uint8_t **pbuffer,
AVStream avs[MAX_STREAMS];
int i;
- avc = av_alloc_format_context();
+ avc = avformat_alloc_context();
if (avc == NULL) {
return -1;
}
@@ -3154,7 +3154,7 @@ static int rtp_new_av_stream(HTTPContext *c,
int max_packet_size;
/* now we can open the relevant output stream */
- ctx = av_alloc_format_context();
+ ctx = avformat_alloc_context();
if (!ctx)
return -1;
ctx->oformat = guess_format("rtp", NULL, NULL);