diff options
author | Juanjo <pulento@users.sourceforge.net> | 2002-02-09 16:59:56 +0000 |
---|---|---|
committer | Juanjo <pulento@users.sourceforge.net> | 2002-02-09 16:59:56 +0000 |
commit | 81401c1fbc79c3350e91ef15dd25b50afa9e5d4d (patch) | |
tree | 9ee7c4e78f6307aa90006d2f1b07a240ece70cdf /libavcodec/avcodec.h | |
parent | 3cb32e3d1fb6c058bf6b3ce45d5e758a4608c847 (diff) | |
download | ffmpeg-81401c1fbc79c3350e91ef15dd25b50afa9e5d4d.tar.gz |
- Fixes on RTP and GOB headers for H.263.
- RTP callback system implemented for H.263/H.263+.
- Bug fix on DC coefficients of H.263.
- H.263 decoder now returns PTS on picture number.
Originally committed as revision 292 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 9b027091e2..cc374c1cab 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -115,6 +115,14 @@ typedef struct AVCodecContext { /* with a start code on some codecs like H.263 */ /* This doesn't take account of any particular */ /* headers inside the transmited RTP payload */ + + + /* The RTP callcack: This function is called */ + /* every time the encoder as a packet to send */ + /* Depends on the encoder if the data starts */ + /* with a Start Code (it should) H.263 does */ + void (*rtp_callback)(void *data, int size, int packet_number); + /* the following fields are ignored */ void *opaque; /* can be used to carry app specific stuff */ |