aboutsummaryrefslogtreecommitdiffstats
path: root/ffserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c
index 7719c7a8da..4217735077 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -3381,7 +3381,6 @@ static int rtp_new_av_stream(HTTPContext *c,
st = av_mallocz(sizeof(AVStream));
if (!st)
goto fail;
- st->codec= avcodec_alloc_context();
ctx->nb_streams = 1;
ctx->streams[0] = st;