Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
2e99641b
Commit
2e99641b
authored
21 years ago
by
Roberto Togni
Browse files
Options
Downloads
Patches
Plain Diff
Fix some palette related defines, bump build number
Originally committed as revision 2464 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
2cbb7820
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavcodec/avcodec.h
+4
-3
4 additions, 3 deletions
libavcodec/avcodec.h
with
4 additions
and
3 deletions
libavcodec/avcodec.h
+
4
−
3
View file @
2e99641b
...
@@ -16,7 +16,7 @@ extern "C" {
...
@@ -16,7 +16,7 @@ extern "C" {
#define FFMPEG_VERSION_INT 0x000408
#define FFMPEG_VERSION_INT 0x000408
#define FFMPEG_VERSION "0.4.8"
#define FFMPEG_VERSION "0.4.8"
#define LIBAVCODEC_BUILD 468
8
#define LIBAVCODEC_BUILD 468
9
#define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
#define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
#define LIBAVCODEC_VERSION FFMPEG_VERSION
#define LIBAVCODEC_VERSION FFMPEG_VERSION
...
@@ -1439,7 +1439,8 @@ typedef struct AVPicture {
...
@@ -1439,7 +1439,8 @@ typedef struct AVPicture {
* This structure defines a method for communicating palette changes
* This structure defines a method for communicating palette changes
* between and demuxer and a decoder.
* between and demuxer and a decoder.
*/
*/
#define AVPALETTE_SIZE 256
#define AVPALETTE_SIZE 1024
#define AVPALETT_COUNT 256
typedef
struct
AVPaletteControl
{
typedef
struct
AVPaletteControl
{
/* demuxer sets this to 1 to indicate the palette has changed;
/* demuxer sets this to 1 to indicate the palette has changed;
...
@@ -1450,7 +1451,7 @@ typedef struct AVPaletteControl {
...
@@ -1450,7 +1451,7 @@ typedef struct AVPaletteControl {
* the individual palette components should be on a 8-bit scale; if
* the individual palette components should be on a 8-bit scale; if
* the palette data comes from a IBM VGA native format, the component
* the palette data comes from a IBM VGA native format, the component
* data is probably 6 bits in size and needs to be scaled */
* data is probably 6 bits in size and needs to be scaled */
unsigned
int
palette
[
AVPALETTE_
SIZE
];
unsigned
int
palette
[
AVPALETTE_
COUNT
];
}
AVPaletteControl
;
}
AVPaletteControl
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment