ffserver: Replace one malloc(AVStream) by avformat_new_stream()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 11 Nov 2015 20:04:01 +0000 (21:04 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 11 Nov 2015 20:26:50 +0000 (21:26 +0100)
commit2ec18db75cff03a5cfa0a0f28f22da6866f720d1
tree231f74762a64d051ab146477e9695b9f9973bee3
parent351e625d60165be67c362af6e96ead6c9262623f
ffserver: Replace one malloc(AVStream) by avformat_new_stream()

This fixes a null pointer dereference from the recently introduced
AVStream->internal

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
ffserver.c