[FFmpeg-trac] #2672(avfilter:new): Incompatible avfilter_graph_parse()

FFmpeg trac at avcodec.org
Sat Jun 15 20:54:17 CEST 2013


#2672: Incompatible avfilter_graph_parse()
---------------------------------------+----------------------------------
               Reporter:  ubitux       |                  Owner:
                   Type:  defect       |                 Status:  new
               Priority:  normal       |              Component:  avfilter
                Version:  unspecified  |               Keywords:
             Blocked By:               |               Blocking:
Reproduced by developer:  0            |  Analyzed by developer:  0
---------------------------------------+----------------------------------
 In 6119b23a, API was broken (on purpose):

 {{{
  int avfilter_graph_parse(AVFilterGraph *graph, const char *filters,
 -                         AVFilterInOut *inputs, AVFilterInOut *outputs,
 +                         AVFilterInOut **inputs, AVFilterInOut **outputs,
                           void *log_ctx);
 }}}

 While that API break was not really a problem at that time, the Libav fork
 already existed and didn't pick that change. This causes an API
 incompatibility between the two projects, which needs to be fixed somehow.

 AFAICT there is unfortunately no clean way to do that. Best we can do
 seems to be to restore the prototype automatically at next major bump (but
 that might break a lot of apps). Note that some applications are already
 using this new prototypes.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2672>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list