projects
/
framework
/
osp
/
media.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39cab50
)
Added AVPacket.data initializing code
author
JungYumin
<y_m.jung@samsung.com>
Fri, 5 Apr 2013 09:35:58 +0000
(18:35 +0900)
committer
JungYumin
<y_m.jung@samsung.com>
Fri, 5 Apr 2013 09:35:58 +0000
(18:35 +0900)
Change-Id: Ie33290f556361732a17543ed525432eb81ea21a8
Signed-off-by: JungYumin <y_m.jung@samsung.com>
src/FMedia_AacEncoder.cpp
patch
|
blob
|
history
diff --git
a/src/FMedia_AacEncoder.cpp
b/src/FMedia_AacEncoder.cpp
index
6ba3e9b
..
32d5cb8
100644
(file)
--- a/
src/FMedia_AacEncoder.cpp
+++ b/
src/FMedia_AacEncoder.cpp
@@
-201,7
+201,7
@@
_AacEncoder::Encode(const byte* srcBuf, int srcBufSize, int &srcBufUsed, byte* d
int minDstBufLength = FF_MIN_BUFFER_SIZE;
int gotOutput = 0;
AVPacket outPacket;
-
+ outPacket.data = NULL;
SysTryReturnResult(NID_MEDIA, __pCodecCtx, E_INVALID_STATE, "not constructed");
minSrcBufLength = __pCodecCtx->frame_size * S16_SAMPLE_SIZE * __pCodecCtx->channels;