Skip to content

Commit

Permalink
Be more precise in libavcodec/libavformat/libavutil separation
Browse files Browse the repository at this point in the history
  • Loading branch information
jbkempf committed Oct 22, 2013
1 parent cc23f93 commit d6a7b80
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion include/vlc_avcodec.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*****************************************************************************
* vlc_avcodec.h: VLC thread support for FFMPEG/libavcodec
* vlc_avcodec.h: VLC thread support for libavcodec
*****************************************************************************
* Copyright (C) 2009-2010 Rémi Denis-Courmont
*
Expand Down
6 changes: 3 additions & 3 deletions include/vlc_codecs.h
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ ATTR_PACKED

#define WAVE_FORMAT_A52 0x2000 /* a52 */
#define WAVE_FORMAT_DTS 0x2001 /* DTS */
#define WAVE_FORMAT_FFMPEG_AAC 0x706D
#define WAVE_FORMAT_AVCODEC_AAC 0x706D
#define WAVE_FORMAT_DIVIO_AAC 0x4143 /* Divio's AAC */

#define WAVE_FORMAT_GSM_AMR_FIXED 0x7A21 /* Fixed bitrate, no SID */
Expand All @@ -275,7 +275,7 @@ ATTR_PACKED
#define WAVE_FORMAT_DK3 0x0061
#define WAVE_FORMAT_DK4 0x0062

/* At least FFmpeg use that ID: from libavformat/riff.c ('Vo' == 0x566f)
/* At least libavformat use that ID: from libavformat/riff.c ('Vo' == 0x566f)
* { CODEC_ID_VORBIS, ('V'<<8)+'o' }, //HACK/FIXME, does vorbis in WAV/AVI have an (in)official id?
*/
#define WAVE_FORMAT_VORBIS 0x566f
Expand Down Expand Up @@ -395,7 +395,7 @@ wave_format_tag_to_fourcc[] =
{ WAVE_FORMAT_AAC, VLC_CODEC_MP4A, "MPEG-4 Audio" },
{ WAVE_FORMAT_AAC_2, VLC_CODEC_MP4A, "MPEG-4 Audio" },
{ WAVE_FORMAT_AAC_LATM, VLC_CODEC_MP4A, "MPEG-4 Audio" },
{ WAVE_FORMAT_FFMPEG_AAC, VLC_CODEC_MP4A, "MPEG-4 Audio" },
{ WAVE_FORMAT_AVCODEC_AAC, VLC_CODEC_MP4A, "MPEG-4 Audio" },
{ WAVE_FORMAT_AAC_MS, VLC_CODEC_MP4A, "MPEG-4 Audio" },
{ WAVE_FORMAT_VORBIS, VLC_CODEC_VORBIS, "Vorbis Audio" },
{ WAVE_FORMAT_VORB_1, VLC_FOURCC( 'v', 'o', 'r', '1' ), "Vorbis 1 Audio" },
Expand Down
2 changes: 1 addition & 1 deletion include/vlc_es.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*/
struct video_palette_t
{
int i_entries; /**< to keep the compatibility with ffmpeg's palette */
int i_entries; /**< to keep the compatibility with libavcodec's palette */
uint8_t palette[256][4]; /**< 4-byte RGBA/YUVA palette */
};

Expand Down
2 changes: 1 addition & 1 deletion modules/demux/nuv.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ static int Open( vlc_object_t * p_this )
{
if( fh.i_compression == 'F' || fh.i_compression == 'R' )
{
/* ffmpeg extra data */
/* libavcodec extra data */
p_sys->i_extra_f = fh.i_length;
p_sys->p_extra_f = malloc( fh.i_length );
if( p_sys->p_extra_f == NULL || stream_Read( p_demux->s,
Expand Down
2 changes: 1 addition & 1 deletion modules/packetizer/mpeg4video.c
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ static int ParseVOP( decoder_t *p_dec, block_t *p_vop )
return VLC_SUCCESS;
}

/* look at ffmpeg av_log2 ;) */
/* look at libavutil av_log2 ;) */
static int vlc_log2( unsigned int v )
{
int n = 0;
Expand Down
8 changes: 4 additions & 4 deletions src/misc/fourcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ static const staticentry_t p_list_video[] = {
E("hdx4", "Jomigo HDX4 (MPEG-4 Video)"),
E("SMP4", "Samsung SMP4 (MPEG-4 Video)"),
E("smp4", "Samsung SMP4 (MPEG-4 Video)"),
E("fvfw", "FFmpeg MPEG-4"),
E("FVFW", "FFmpeg MPEG-4"),
E("fvfw", "libavcodec MPEG-4"),
E("FVFW", "libavcodec MPEG-4"),
E("FFDS", "FFDShow MPEG-4"),
E("VIDM", "vidm 4.01 codec"),
E("DP02", "DynaPel MPEG-4 codec"),
Expand Down Expand Up @@ -547,8 +547,8 @@ static const staticentry_t p_list_video[] = {
B(VLC_CODEC_ASV2, "Asus V2 Video"),
A("ASV2"),

/* FFMPEG Video 1 (lossless codec) */
B(VLC_CODEC_FFV1, "FFMpeg Video 1"),
/* FF video codec 1 (lossless codec) */
B(VLC_CODEC_FFV1, "FF video codec 1"),
A("FFV1"),

/* ATI VCR1 */
Expand Down

0 comments on commit d6a7b80

Please sign in to comment.