Mercurial > mplayer.hg
annotate sub_cc.h @ 27516:3364aef9a988
Fix compilation after libavcodec major version 52 changes
Some symbols were dropped or renamed, requiring corresponding changes
in MPlayer.
- Use AVCodecContext->bits_per_coded_sample instead of ->bits_per_sample.
- Use AVCodecContext->trellis instead of ->flags&CODEC_FLAG_TRELLIS_QUANT.
- Don't set AVCodecContext->rtp_mode (already marked unused before).
- Use ff_eval2() instead of ff_eval().
author | uau |
---|---|
date | Mon, 08 Sep 2008 17:02:32 +0000 |
parents | 4129c8cfa742 |
children | c1a3f1bbba26 |
rev | line source |
---|---|
26029 | 1 #ifndef MPLAYER_SUB_CC_H |
2 #define MPLAYER_SUB_CC_H | |
6784
b38e38b6f88f
DVD Closed Captioning support, patch by Matteo Giani <matgiani@ctonet.it>, small changes by me.
atmos4
parents:
diff
changeset
|
3 |
6790 | 4 extern int subcc_enabled; |
6791 | 5 |
17566
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
6791
diff
changeset
|
6 void subcc_init(void); |
6784
b38e38b6f88f
DVD Closed Captioning support, patch by Matteo Giani <matgiani@ctonet.it>, small changes by me.
atmos4
parents:
diff
changeset
|
7 void subcc_process_data(unsigned char *inputdata,unsigned int len); |
b38e38b6f88f
DVD Closed Captioning support, patch by Matteo Giani <matgiani@ctonet.it>, small changes by me.
atmos4
parents:
diff
changeset
|
8 |
26029 | 9 #endif /* MPLAYER_SUB_CC_H */ |
6784
b38e38b6f88f
DVD Closed Captioning support, patch by Matteo Giani <matgiani@ctonet.it>, small changes by me.
atmos4
parents:
diff
changeset
|
10 |