mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum
SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -115,7 +115,7 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad,
|
||||
link->srcpad = &src->output_pads[srcpad];
|
||||
link->dstpad = &dst->input_pads[dstpad];
|
||||
link->type = src->output_pads[srcpad].type;
|
||||
assert(PIX_FMT_NONE == -1 && SAMPLE_FMT_NONE == -1);
|
||||
assert(PIX_FMT_NONE == -1 && AV_SAMPLE_FMT_NONE == -1);
|
||||
link->format = -1;
|
||||
|
||||
return 0;
|
||||
@@ -268,7 +268,7 @@ AVFilterBufferRef *avfilter_get_video_buffer(AVFilterLink *link, int perms, int
|
||||
}
|
||||
|
||||
AVFilterBufferRef *avfilter_get_audio_buffer(AVFilterLink *link, int perms,
|
||||
enum SampleFormat sample_fmt, int size,
|
||||
enum AVSampleFormat sample_fmt, int size,
|
||||
int64_t channel_layout, int planar)
|
||||
{
|
||||
AVFilterBufferRef *ret = NULL;
|
||||
|
||||
Reference in New Issue
Block a user