]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/buffersrc.c
libavfilter: src_buffer: add time_base for audio
[ffmpeg] / libavfilter / buffersrc.c
index ca9390aa5aa2f7a3d5fce02fc667d37e39c2680b..7cc80d8f5f5ff709d8a96db8cafa808fa0d2ee1a 100644 (file)
@@ -1,20 +1,20 @@
 /*
  * Copyright (c) 2008 Vitor Sessak
  *
- * This file is part of Libav.
+ * This file is part of FFmpeg.
  *
- * Libav is free software; you can redistribute it and/or
+ * FFmpeg is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
  * version 2.1 of the License, or (at your option) any later version.
  *
- * Libav is distributed in the hope that it will be useful,
+ * FFmpeg is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with Libav; if not, write to the Free Software
+ * License along with FFmpeg; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
@@ -28,6 +28,7 @@
 #include "buffersrc.h"
 #include "formats.h"
 #include "vsrc_buffer.h"
+#include "avcodec.h"
 
 #include "libavutil/audioconvert.h"
 #include "libavutil/fifo.h"
@@ -69,7 +70,7 @@ typedef struct {
     }
 
 #if FF_API_VSRC_BUFFER_ADD_FRAME
-int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame,
+static int av_vsrc_buffer_add_frame_alt(AVFilterContext *buffer_filter, AVFrame *frame,
                              int64_t pts, AVRational pixel_aspect)
 {
     int64_t orig_pts = frame->pts;