Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
| ... | ... |
@@ -161,7 +161,7 @@ static av_cold int vsink_init(AVFilterContext *ctx, const char *args, void *opaq |
| 161 | 161 |
return AVERROR(EINVAL); |
| 162 | 162 |
} else {
|
| 163 | 163 |
#if FF_API_OLD_VSINK_API |
| 164 |
- buf->pixel_fmts = (const enum PixelFormats *)opaque; |
|
| 164 |
+ buf->pixel_fmts = (const enum PixelFormat *)opaque; |
|
| 165 | 165 |
#else |
| 166 | 166 |
params = (AVBufferSinkParams *)opaque; |
| 167 | 167 |
buf->pixel_fmts = params->pixel_fmts; |