Showing the changes to fftools/cmdutils.h (1 of 6 files). Show all
Unified · Split
| @@ -333,10 +333,12 @@ int check_stream_specifier(AVFormatContext *s, AVStream *st, const char *spec); · 332 unmodified lines | |||
| 333 | * @param st A stream from s for which the options should be filtered. | 333 | * @param st A stream from s for which the options should be filtered. |
| 334 | * @param codec The particular codec for which the options should be filtered. | 334 | * @param codec The particular codec for which the options should be filtered. |
| 335 | * If null, the default one is looked up according to the codec id. | 335 | * If null, the default one is looked up according to the codec id. |
| 336 | * @return a pointer to the created dictionary | 336 | * @param dst a pointer to the created dictionary |
| 337 | * @return a non-negative number on success, a negative error code on failure | ||
| 337 | */ | 338 | */ |
| 338 | AVDictionary *filter_codec_opts(const AVDictionary *opts, enum AVCodecID codec_id, | 339 | int filter_codec_opts(const AVDictionary *opts, enum AVCodecID codec_id, |
| 339 | AVFormatContext *s, AVStream *st, const AVCodec *codec); | 340 | AVFormatContext *s, AVStream *st, const AVCodec *codec, |
| 341 | AVDictionary **dst); | ||
| 340 | 342 | ||
| 341 | /** | 343 | /** |
| 342 | * Setup AVCodecContext options for avformat_find_stream_info(). | 344 | * Setup AVCodecContext options for avformat_find_stream_info(). |