Mercurial > mplayer.hg
annotate stream/stream_dvd_common.h @ 28132:c28c36d595d5
Fix imaadpcm extradata with lavc encoder.
The formula to calculate frame size was wrong, duplicated code from the encoder
and did not take endianness into account when writing the value into extradata.
Patch by Edouard Gomez [ed gomez (at) free fr].
author | reimar |
---|---|
date | Sat, 20 Dec 2008 10:18:15 +0000 |
parents | ea01824701a5 |
children | 83266d299072 |
rev | line source |
---|---|
26029 | 1 #ifndef MPLAYER_STREAM_DVD_COMMON_H |
2 #define MPLAYER_STREAM_DVD_COMMON_H | |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
23993
diff
changeset
|
3 |
27043 | 4 #include "config.h" |
26184
7ee4ae1648e6
Add missing header #includes to fix 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
5 #include <inttypes.h> |
27341
e7c989f7a7c9
Start unifying names of internal preprocessor directives.
diego
parents:
27043
diff
changeset
|
6 #ifdef CONFIG_DVDREAD_INTERNAL |
27466
ea01824701a5
Rename internal libdvdread fork from dvdread to libdvdread
rathann
parents:
27341
diff
changeset
|
7 #include "libdvdread/ifo_types.h" |
26906
bae68d1afda2
adapted to the dvdread->libdvdread transition in dvdnav's repository
nicodvb
parents:
26184
diff
changeset
|
8 #else |
27466
ea01824701a5
Rename internal libdvdread fork from dvdread to libdvdread
rathann
parents:
27341
diff
changeset
|
9 #include <dvdread/ifo_types.h> |
26906
bae68d1afda2
adapted to the dvdread->libdvdread transition in dvdnav's repository
nicodvb
parents:
26184
diff
changeset
|
10 #endif |
26184
7ee4ae1648e6
Add missing header #includes to fix 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
11 |
23993 | 12 int mp_dvdtimetomsec(dvd_time_t *dt); |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
23993
diff
changeset
|
13 |
26029 | 14 #endif /* MPLAYER_STREAM_DVD_COMMON_H */ |