diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-11-05 13:34:08 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-11-05 13:34:08 +0000 |
commit | e870a7dd4ab1de56bb24080ee047321a7240ae69 (patch) | |
tree | 512c180a9fa3be546b6ae813d1523b8ba803c0c4 /libavfilter/sink_buffer.c | |
parent | f4aaf987a588fcf5978e636edf2193df35b3e83b (diff) | |
download | ffmpeg-e870a7dd4ab1de56bb24080ee047321a7240ae69.tar.gz |
lavfi: stop using -1 instead use AV_PIX_FMT_NONE/AV_SAMPLE_FMT_NONE
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/sink_buffer.c')
-rw-r--r-- | libavfilter/sink_buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/sink_buffer.c b/libavfilter/sink_buffer.c index 7d3958856f..358b3e86f7 100644 --- a/libavfilter/sink_buffer.c +++ b/libavfilter/sink_buffer.c @@ -33,7 +33,7 @@ AVBufferSinkParams *av_buffersink_params_alloc(void) { - static const int pixel_fmts[] = { -1 }; + static const int pixel_fmts[] = { AV_PIX_FMT_NONE }; AVBufferSinkParams *params = av_malloc(sizeof(AVBufferSinkParams)); if (!params) return NULL; @@ -44,7 +44,7 @@ AVBufferSinkParams *av_buffersink_params_alloc(void) AVABufferSinkParams *av_abuffersink_params_alloc(void) { - static const int sample_fmts[] = { -1 }; + static const int sample_fmts[] = { AV_SAMPLE_FMT_NONE }; static const int64_t channel_layouts[] = { -1 }; AVABufferSinkParams *params = av_malloc(sizeof(AVABufferSinkParams)); |