Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
7c300cca
Commit
7c300cca
authored
Jan 09, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* video.c: gibalou: no palctrl in avcodec context in 0.4.8
* ffmpeg.c: 0.4.8 ifdef'ing
parent
ca167f03
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
modules/codec/ffmpeg/ffmpeg.c
modules/codec/ffmpeg/ffmpeg.c
+5
-1
modules/codec/ffmpeg/video.c
modules/codec/ffmpeg/video.c
+3
-1
No files found.
modules/codec/ffmpeg/ffmpeg.c
View file @
7c300cca
...
...
@@ -2,7 +2,7 @@
* ffmpeg.c: video decoder using ffmpeg library
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: ffmpeg.c,v 1.7
5 2004/01/09 00:02:55 gbazi
n Exp $
* $Id: ffmpeg.c,v 1.7
6 2004/01/09 02:28:30 hartma
n Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
...
...
@@ -437,10 +437,12 @@ static struct
/* Flash (H263) variant */
{
VLC_FOURCC
(
'F'
,
'L'
,
'V'
,
'1'
),
CODEC_ID_FLV1
,
VIDEO_ES
,
"Flash Video"
},
#if LIBAVCODEC_BUILD > 4680
{
VLC_FOURCC
(
'F'
,
'L'
,
'I'
,
'C'
),
CODEC_ID_FLIC
,
VIDEO_ES
,
"Flic Video"
},
#endif
/* MJPEG */
{
VLC_FOURCC
(
'M'
,
'J'
,
'P'
,
'G'
),
CODEC_ID_MJPEG
,
VIDEO_ES
,
"Motion JPEG Video"
},
...
...
@@ -460,8 +462,10 @@ static struct
{
VLC_FOURCC
(
'm'
,
'j'
,
'p'
,
'b'
),
CODEC_ID_MJPEGB
,
/* for mov file */
VIDEO_ES
,
"Motion JPEG B Video"
},
#if LIBAVCODEC_BUILD > 4680
{
VLC_FOURCC
(
'S'
,
'P'
,
'5'
,
'X'
),
CODEC_ID_SP5X
,
VIDEO_ES
,
"Sunplus Motion JPEG Video"
},
#endif
/* DV */
{
VLC_FOURCC
(
'd'
,
'v'
,
's'
,
'l'
),
CODEC_ID_DVVIDEO
,
...
...
modules/codec/ffmpeg/video.c
View file @
7c300cca
...
...
@@ -2,7 +2,7 @@
* video.c: video decoder using the ffmpeg library
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: video.c,v 1.
59 2004/01/09 00:02:55 gbazi
n Exp $
* $Id: video.c,v 1.
60 2004/01/09 02:28:30 hartma
n Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
...
...
@@ -336,7 +336,9 @@ int E_(InitVideoDec)( decoder_t *p_dec, AVCodecContext *p_context,
p_dec
->
fmt_out
.
i_codec
=
ffmpeg_PixFmtToChroma
(
p_context
->
pix_fmt
);
/* Setup dummy palette to avoid segfaults with some codecs */
#if LIBAVCODEC_BUILD >= 4688
p_sys
->
p_context
->
palctrl
=
&
palette_control
;
#endif
/* ***** Open the codec ***** */
vlc_mutex_lock
(
lockval
.
p_address
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment