Skip to content

Commit e89e84b

Browse files
author
Clement Champetier
committed
IDecoder: added doc to decodeNextFrame method
1 parent ee005ba commit e89e84b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/AvTranscoder/decoder/IDecoder.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ class AvExport IDecoder
2323
/**
2424
* @brief Decode next frame
2525
* @param frameBuffer: the frame decoded
26+
* @warn the frameBuffer reference belongs to the decoder and is valid only until the
27+
* next call to this function or until closing or flushing the
28+
* decoder. The caller may not write to it.
2629
* @return status of decoding
2730
*/
2831
virtual bool decodeNextFrame(Frame& frameBuffer) = 0;

0 commit comments

Comments
 (0)