Skip to content

Commit 4aaeefb

Browse files
author
Clement Champetier
committed
Frame: added doc to copyData method
1 parent e886c8a commit 4aaeefb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/AvTranscoder/data/decoded/Frame.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ class AvExport Frame
4343
int* getLineSize() const { return _frame->linesize; }
4444

4545
/**
46-
* @brief Copy the data of the given Frame.
47-
*/
46+
* @brief Copy the data of the given Frame.
47+
* @note This function does not allocate anything: the current frame must be already initialized and
48+
* allocated with the same parameters as the given frame, to be ready for memcpy instructions.
49+
*/
4850
void copyData(const Frame& frameToRef);
4951

5052
/**

0 commit comments

Comments
 (0)