Re: [FFmpeg-devel] [PATCH] Fix iterating of input and output devices

2018-03-18 Thread Timo Rothenpieler
Am 16.03.2018 um 10:52 schrieb Timo Rothenpieler: Will push tomorrow unless someone sees a problem with this. applied smime.p7s Description: S/MIME Cryptographic Signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH] Fix iterating of input and output devices

2018-03-16 Thread Timo Rothenpieler
Will push tomorrow unless someone sees a problem with this. smime.p7s Description: S/MIME Cryptographic Signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] Fix iterating of input and output devices

2018-03-15 Thread Timo Rothenpieler
Looks reasonable to me. smime.p7s Description: S/MIME Cryptographic Signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] Fix iterating of input and output devices

2018-03-14 Thread Felix Matouschek
My bad Am 14.03.2018 13:25, schrieb Timo Rothenpieler: -if (!(prev = ((AVOutputFormat *)prev)->next)) +if (!(prev = prev ? ((AVInputFormat *)prev)->next : (void*)outdev_list[0])) AVOutputFormat ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH] Fix iterating of input and output devices

2018-03-14 Thread Timo Rothenpieler
>-if (!(prev = ((AVOutputFormat *)prev)->next)) >+if (!(prev = prev ? ((AVInputFormat *)prev)->next : (void*)outdev_list[0])) AVOutputFormat smime.p7s Description: S/MIME Cryptographic Signature ___ ffmpeg-devel mailing list

[FFmpeg-devel] [PATCH] Fix iterating of input and output devices

2018-03-14 Thread Felix Matouschek
This fixes the iterating of input and output devices In the previous implementation the first input or output device was skipped when device_next was called with prev = NULLFrom f90823e8dccf5751e88b8990f5789d8f67e7c496 Mon Sep 17 00:00:00 2001 From: Felix Matouschek Date: