Browse Source

lavfi/avcodec: fix API version checks

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Hendrik Leppkes Michael Niedermayer 13 years ago
parent
commit
ed69c69a01
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libavfilter/avcodec.c
  2. +1
    -1
      libavfilter/avcodec.h

+ 1
- 1
libavfilter/avcodec.c View File

@@ -134,7 +134,7 @@ int avfilter_copy_buf_props(AVFrame *dst, const AVFilterBufferRef *src)
return 0; return 0;
} }


#ifdef FF_API_FILL_FRAME
#if FF_API_FILL_FRAME
int avfilter_fill_frame_from_audio_buffer_ref(AVFrame *frame, int avfilter_fill_frame_from_audio_buffer_ref(AVFrame *frame,
const AVFilterBufferRef *samplesref) const AVFilterBufferRef *samplesref)
{ {


+ 1
- 1
libavfilter/avcodec.h View File

@@ -58,7 +58,7 @@ AVFilterBufferRef *avfilter_get_buffer_ref_from_frame(enum AVMediaType type,
const AVFrame *frame, const AVFrame *frame,
int perms); int perms);


#ifdef FF_API_FILL_FRAME
#if FF_API_FILL_FRAME
/** /**
* Fill an AVFrame with the information stored in samplesref. * Fill an AVFrame with the information stored in samplesref.
* *


Loading…
Cancel
Save