File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ class AvExport AudioFrame : public Frame
81
81
{
82
82
public:
83
83
AudioFrame ( const AudioFrameDesc& ref )
84
- : Frame( ref.getDataSize(), 0 )
84
+ : Frame( ref.getDataSize() )
85
85
, _audioFrameDesc( ref )
86
86
, _nbSamples( 0 )
87
87
{}
Original file line number Diff line number Diff line change @@ -8,10 +8,9 @@ Frame::Frame()
8
8
initAVPacket ();
9
9
}
10
10
11
- Frame::Frame ( const size_t dataSize, const int value )
11
+ Frame::Frame ( const size_t dataSize )
12
12
{
13
13
av_new_packet ( &_packet, dataSize );
14
- assign ( dataSize, value );
15
14
}
16
15
17
16
Frame::Frame (AVPacket& avPacket)
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class AvExport Frame
17
17
Frame ();
18
18
19
19
// / Create a frame with a the given buffer size
20
- Frame ( const size_t dataSize, const int value );
20
+ Frame ( const size_t dataSize );
21
21
22
22
// / Create a frame from the given AVPAcket (copy data)
23
23
Frame ( AVPacket& avPacket );
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ class AvExport VideoFrame : public Frame
90
90
{
91
91
public:
92
92
VideoFrame ( const VideoFrameDesc& ref )
93
- : Frame( ref.getDataSize(), 0 )
93
+ : Frame( ref.getDataSize() )
94
94
, _videoFrameDesc( ref )
95
95
{}
96
96
You can’t perform that action at this time.
0 commit comments