]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libopusdec.c
mjpegdec: Properly fail on malloc failure
[ffmpeg] / libavcodec / libopusdec.c
index 2d31b039671033b5a387d4b080d431b3dd5cfff9..c6e15738808e50060cce2949748716d7d454f2a5 100644 (file)
@@ -22,8 +22,8 @@
 #include <opus.h>
 #include <opus_multistream.h>
 
-#include "libavutil/avassert.h"
 #include "libavutil/intreadwrite.h"
+
 #include "avcodec.h"
 #include "internal.h"
 #include "vorbis.h"
@@ -73,7 +73,7 @@ static av_cold int libopus_decode_init(AVCodecContext *avc)
         const uint8_t *vorbis_offset = ff_vorbis_channel_layout_offsets[avc->channels - 1];
         int ch;
 
-        /* Remap channels from vorbis order to libav order */
+        /* Remap channels from Vorbis order to libav order */
         for (ch = 0; ch < avc->channels; ch++)
             mapping_arr[ch] = mapping[vorbis_offset[ch]];
         mapping = mapping_arr;