<p>Gaurav Khurana <strong>posted comments</strong> on this change.</p><p><a href="https://gerrit.asterisk.org/8209">View Change</a></p><p>Patch set 4:</p><p>(2 comments)</p><ul style="list-style: none; padding-left: 20px;"><li><p><a href="https://gerrit.asterisk.org/#/c/8209/4/include/asterisk/mod_format.h">File include/asterisk/mod_format.h:</a></p><ul style="list-style: none; padding-left: 20px;"><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/8209/4/include/asterisk/mod_format.h@47">Patch Set #4, Line 47:</a> <code style="font-family:monospace,monospace">  char mime_types[80]; /*!< MIME Types related to the format (separated by | if more than one)*/</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Is 80 bytes enough? Do we maybe want to use a list here instead of the pipe</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Some kinda delimiter will be needed to support cases like : https://gerrit.asterisk.org/#/c/8209/4/formats/format_wav.c. So, following "exts", a '|' delimited string seems right.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Length : Thinking again about it, I think 80 should practically be enough, but it leaves room for a crash. How about making it 256? 160 could work too but 256 should cover us pretty well.</p></li></ul></li><li><p><a href="https://gerrit.asterisk.org/#/c/8209/4/main/file.c">File main/file.c:</a></p><ul style="list-style: none; padding-left: 20px;"><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/8209/4/main/file.c@1950">Patch Set #4, Line 1950:</a> <code style="font-family:monospace,monospace">                    if (exts) {</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">If 'exts' is NULL this function will do nothing and only ever return 0.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Not sure I get your suggestion here. <br>If 'exts' came in as null then this function will return 1. Receiving a 1 in the invoker function - "bucket_file_update_path", it will use the extension via "ext = strrchr(ast_sorcery_object_get_id(bucket_file), '.')</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/8209">change 8209</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/8209"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I1b14692a49b2c1ac67688f58757184122e92ba89 </div>
<div style="display:none"> Gerrit-Change-Number: 8209 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Gaurav Khurana <gkhurana@godaddy.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 14 Feb 2018 22:22:07 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>