projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
ffmpeg
/
libavcodec
/
libopusenc.c
diff --git
a/src/third_party/ffmpeg/libavcodec/libopusenc.c
b/src/third_party/ffmpeg/libavcodec/libopusenc.c
index
8ceb877
..
75e82da
100644
(file)
--- a/
src/third_party/ffmpeg/libavcodec/libopusenc.c
+++ b/
src/third_party/ffmpeg/libavcodec/libopusenc.c
@@
-366,7
+366,7
@@
static int libopus_encode(AVCodecContext *avctx, AVPacket *avpkt,
uint8_t* side_data = av_packet_new_side_data(avpkt,
AV_PKT_DATA_SKIP_SAMPLES,
10);
- if(
side_data == NULL
) {
+ if(
!side_data
) {
av_free_packet(avpkt);
av_free(avpkt);
return AVERROR(ENOMEM);