File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,10 @@ class AvExport Frame
19
19
// / Create a frame with a the given buffer size
20
20
Frame ( const size_t dataSize );
21
21
22
+ #ifndef SWIG
22
23
// / Create a frame from the given AVPAcket (copy data of given packet)
23
24
Frame ( const AVPacket& avPacket );
25
+ #endif
24
26
25
27
// / Override copy constructor in order to copy AVPacket data
26
28
Frame ( const Frame& other );
@@ -52,11 +54,11 @@ class AvExport Frame
52
54
// / Clear existing data and set size to 0
53
55
void clear ();
54
56
55
- AVPacket& getAVPacket () { return _packet; }
56
57
unsigned char * getData () { return _packet.data ; }
57
58
size_t getSize () const { return _packet.size ; }
58
59
59
60
#ifndef SWIG
61
+ AVPacket& getAVPacket () { return _packet; }
60
62
const AVPacket& getAVPacket () const { return _packet; }
61
63
const unsigned char * getData () const { return _packet.data ; }
62
64
#endif
You can’t perform that action at this time.
0 commit comments