-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -2268,9 +2268,17 @@ CSampleBuffer* CActiveAE::SyncStream(CActiveAEStream *stream) | |||
if (stream->m_syncClock == CActiveAEStream::MUTE) | ||||
{ | ||||
CSampleBuffer *buf = stream->m_resampleBuffers->m_outputSamples.front(); | ||||
for(int i=0; i<buf->pkt->planes; i++) | ||||
if (m_mode == MODE_RAW) | ||||
{ | ||||
ret->pkt->nb_samples = 0; | ||||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
popcornmix
|
uint16_t* buf = (uint16_t*)m_packer->GetBuffer(); |
This comment has been minimized.
This comment has been minimized.
Sorry, something went wrong.
popcornmix
Jan 22, 2016
In the linked code, doesn't PackAC3 dereference payload[5] which doesn't exist?
This comment has been minimized.
This comment has been minimized.
Sorry, something went wrong.
seg faults for me with ret=null. Should that be buf->pkt?