]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/bmp.c
h264: add profile names for the existing defines
[ffmpeg] / libavcodec / bmp.c
index da7bb787d0674883f124d4df1756be9047e93b38..c02aac6cb7752ab17044e52ff750a3e27a8a736f 100644 (file)
@@ -290,7 +290,7 @@ static int bmp_decode_frame(AVCodecContext *avctx,
                 uint16_t *dst = (uint16_t *) ptr;
 
                 for(j = 0; j < avctx->width; j++)
-                    *dst++ = le2me_16(*src++);
+                    *dst++ = av_le2ne16(*src++);
 
                 buf += n;
                 ptr += linesize;
@@ -335,7 +335,7 @@ static av_cold int bmp_decode_end(AVCodecContext *avctx)
     return 0;
 }
 
-AVCodec bmp_decoder = {
+AVCodec ff_bmp_decoder = {
     "bmp",
     AVMEDIA_TYPE_VIDEO,
     CODEC_ID_BMP,