mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-30 12:06:40 +08:00
av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Michael Niedermayer
parent
81c5f88748
commit
bc874daea8
@@ -3124,7 +3124,7 @@ static int rtp_new_av_stream(HTTPContext *c,
|
||||
int max_packet_size;
|
||||
|
||||
/* now we can open the relevant output stream */
|
||||
ctx = av_mallocz(sizeof(AVFormatContext));
|
||||
ctx = av_alloc_format_context();
|
||||
if (!ctx)
|
||||
return -1;
|
||||
ctx->oformat = &rtp_mux;
|
||||
|
||||
Reference in New Issue
Block a user