On Sun, Jan 24, 2016 at 04:03:40PM +0100, Michael Niedermayer wrote: > On Sun, Jan 24, 2016 at 03:37:24PM +0100, Andreas Cadhalpun wrote: > > On 24.01.2016 03:42, Michael Niedermayer wrote: [...] > > > if ((ret = av_opt_set_dict(*puc, options)) < 0) > > > goto fail; > > > + > > > + whitelist = (*puc)->protocol_whitelist; > > > + if (whitelist && av_match_list((*puc)->prot->name, whitelist, ',') > > > <= 0) { > > > + av_log(*puc, AV_LOG_ERROR, "Protocol not on whitelist!\n"); > > > > It would be nice to mention the protocol and the whitelist in the error > > message.
the protocol is already printed as part of the av_log() prefix, ill add printing the whitelist [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Awnsering whenever a program halts or runs forever is On a turing machine, in general impossible (turings halting problem). On any real computer, always possible as a real computer has a finite number of states N, and will either halt in less than N cycles or never halt.
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel