[FFmpeg-devel] [PATCH 4/4] ffserver_config: postpone codec context creation

Lukasz Marek lukasz.m.luki2 at gmail.com
Wed Oct 22 23:44:26 CEST 2014


On 22.10.2014 22:05, Reynaldo H. Verdejo Pinochet wrote:
> Guess you are already considered dropping the explicit initialization
> code as Reimaer suggested.
>
> Looks good otherwise. Feel free to push.

I've attached updated patch.
To save your time:
1. I updated ffserver_apply_stream_config function,
2. added comments in FFServerConfig struct in header (according to 
Stefano's remark)
3. in ffserver_parse_config_stream, at the end added:
         av_freep(&config->video_preset);
         av_freep(&config->audio_preset);
    and checking result of ffserver_apply_stream_config calls

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ffserver_config-postpone-codec-context-creation.patch
Type: text/x-patch
Size: 21869 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141022/0e827e90/attachment.bin>


More information about the ffmpeg-devel mailing list