[FFmpeg-devel] [PATCH 3/3] avformat/test/seek: set ch_layout instead of channels

James Almer jamrial at gmail.com
Sat Mar 19 00:19:07 EET 2022


Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavformat/tests/seek.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/tests/seek.c b/libavformat/tests/seek.c
index e0067a64fc..94a72d9422 100644
--- a/libavformat/tests/seek.c
+++ b/libavformat/tests/seek.c
@@ -88,7 +88,7 @@ int main(int argc, char **argv)
         }
     }
 
-    av_dict_set(&format_opts, "channels", "1", 0);
+    av_dict_set(&format_opts, "ch_layout", "mono", 0);
     av_dict_set(&format_opts, "sample_rate", "22050", 0);
 
     if (argc < 2) {
-- 
2.35.1



More information about the ffmpeg-devel mailing list