comparison raw.c @ 3543:1d8d52ca1e54 libavformat

spelling cosmetics in PCM codec long names
author diego
date Mon, 07 Jul 2008 10:37:18 +0000
parents 31a0f3b99ef7
children 2949f7da8931
comparison
equal deleted inserted replaced
3542:cc1ef5259069 3543:1d8d52ca1e54
847 #define BE_DEF(s) NULL 847 #define BE_DEF(s) NULL
848 #define LE_DEF(s) s 848 #define LE_DEF(s) s
849 #endif 849 #endif
850 850
851 851
852 PCMDEF(s16le, "pcm signed 16 bit little endian format", 852 PCMDEF(s16le, "PCM signed 16 bit little-endian format",
853 LE_DEF("sw"), CODEC_ID_PCM_S16LE) 853 LE_DEF("sw"), CODEC_ID_PCM_S16LE)
854 854
855 PCMDEF(s16be, "pcm signed 16 bit big endian format", 855 PCMDEF(s16be, "PCM signed 16 bit big-endian format",
856 BE_DEF("sw"), CODEC_ID_PCM_S16BE) 856 BE_DEF("sw"), CODEC_ID_PCM_S16BE)
857 857
858 PCMDEF(u16le, "pcm unsigned 16 bit little endian format", 858 PCMDEF(u16le, "PCM unsigned 16 bit little-endian format",
859 LE_DEF("uw"), CODEC_ID_PCM_U16LE) 859 LE_DEF("uw"), CODEC_ID_PCM_U16LE)
860 860
861 PCMDEF(u16be, "pcm unsigned 16 bit big endian format", 861 PCMDEF(u16be, "PCM unsigned 16 bit big-endian format",
862 BE_DEF("uw"), CODEC_ID_PCM_U16BE) 862 BE_DEF("uw"), CODEC_ID_PCM_U16BE)
863 863
864 PCMDEF(s8, "pcm signed 8 bit format", 864 PCMDEF(s8, "PCM signed 8 bit format",
865 "sb", CODEC_ID_PCM_S8) 865 "sb", CODEC_ID_PCM_S8)
866 866
867 PCMDEF(u8, "pcm unsigned 8 bit format", 867 PCMDEF(u8, "PCM unsigned 8 bit format",
868 "ub", CODEC_ID_PCM_U8) 868 "ub", CODEC_ID_PCM_U8)
869 869
870 PCMDEF(mulaw, "pcm mu law format", 870 PCMDEF(mulaw, "PCM mu-law format",
871 "ul", CODEC_ID_PCM_MULAW) 871 "ul", CODEC_ID_PCM_MULAW)
872 872
873 PCMDEF(alaw, "pcm A law format", 873 PCMDEF(alaw, "PCM A-law format",
874 "al", CODEC_ID_PCM_ALAW) 874 "al", CODEC_ID_PCM_ALAW)
875 875
876 static int rawvideo_read_packet(AVFormatContext *s, AVPacket *pkt) 876 static int rawvideo_read_packet(AVFormatContext *s, AVPacket *pkt)
877 { 877 {
878 int packet_size, ret, width, height; 878 int packet_size, ret, width, height;