On Fri, Sep 28, 2012 at 11:26:12AM +0200, Diego Biurrun wrote:
> --- /dev/null
> +++ b/libavcodec/libopus.h
> @@ -0,0 +1,43 @@
> + * You should have received a copy of the GNU Lesser General Public
> + * License along with libav; if not, write to the Free Software
> + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 
> USA
> + */
> +
> +
> +static int ff_opus_error_to_averror(int err)
> +{
> +    switch (err) {
> +    case OPUS_BAD_ARG:
> +        return AVERROR(EINVAL);
> +    }
> +}

This is missing multiple inclusion guards.  Also, I wonder how this is
passing "make checkheaders" without #includes for AVERROR and the
OPUS_ symbols...

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to