Mercurial > libavcodec.hg
comparison avcodec.h @ 6049:7fb5a3652990 libavcodec
Document a few more structure change rules with relation to ABI/API.
author | michael |
---|---|
date | Thu, 20 Dec 2007 09:59:07 +0000 |
parents | 0277500fe13d |
children | aeea94d21156 |
comparison
equal
deleted
inserted
replaced
6048:0277500fe13d | 6049:7fb5a3652990 |
---|---|
743 #define FF_BUFFER_HINTS_PRESERVE 0x04 // User must not alter buffer content. | 743 #define FF_BUFFER_HINTS_PRESERVE 0x04 // User must not alter buffer content. |
744 #define FF_BUFFER_HINTS_REUSABLE 0x08 // Codec will reuse the buffer (update). | 744 #define FF_BUFFER_HINTS_REUSABLE 0x08 // Codec will reuse the buffer (update). |
745 | 745 |
746 /** | 746 /** |
747 * Audio Video Frame. | 747 * Audio Video Frame. |
748 * New fields can be added to the end of FF_COMMON_FRAME with minor version | |
749 * bumps. | |
750 * Removial, reordering and changes to existing fields require a Major | |
751 * version bump. No fields should be added into AVFrame before or after | |
752 * FF_COMMON_FRAME! | |
753 * sizeof(AVFrame) must not be used outside libav* | |
748 */ | 754 */ |
749 typedef struct AVFrame { | 755 typedef struct AVFrame { |
750 FF_COMMON_FRAME | 756 FF_COMMON_FRAME |
751 } AVFrame; | 757 } AVFrame; |
752 | 758 |