diff options
author | Wenbin Chen <wenbin.chen@intel.com> | 2023-03-02 10:54:31 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2023-03-17 14:13:37 +0800 |
commit | 2db22d14bf5f0ae62e5ee335017abba3ac458ce9 (patch) | |
tree | 614b44e3fefcdaec76b22ce86bcfb1b6013f7163 /doc/examples | |
parent | 55c8c9493f34e35066e23989991ccc604dbc6da7 (diff) | |
download | ffmpeg-2db22d14bf5f0ae62e5ee335017abba3ac458ce9.tar.gz |
doc/examples/qsv_transcode: Fix a bug when use more than one parameter set
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
Diffstat (limited to 'doc/examples')
-rw-r--r-- | doc/examples/qsv_transcode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/qsv_transcode.c b/doc/examples/qsv_transcode.c index 7ea3ef5674..48128b200c 100644 --- a/doc/examples/qsv_transcode.c +++ b/doc/examples/qsv_transcode.c @@ -88,7 +88,7 @@ static int dynamic_set_parameter(AVCodecContext *avctx) if (current_setting_number < setting_number && frame_number == dynamic_setting[current_setting_number].frame_number) { AVDictionaryEntry *e = NULL; - ret = str_to_dict(dynamic_setting[current_setting_number].optstr, &opts); + ret = str_to_dict(dynamic_setting[current_setting_number++].optstr, &opts); if (ret < 0) { fprintf(stderr, "The dynamic parameter is wrong\n"); goto fail; |