projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9da04cd
)
speexdec: make speex_dec_convert work with same-format values when no data has been...
author
Alessandro Decina
<alessandro.d@gmail.com>
Mon, 4 May 2009 12:19:22 +0000
(14:19 +0200)
committer
Alessandro Decina
<alessandro.d@gmail.com>
Mon, 4 May 2009 12:24:14 +0000
(14:24 +0200)
ext/speex/gstspeexdec.c
patch
|
blob
|
history
diff --git
a/ext/speex/gstspeexdec.c
b/ext/speex/gstspeexdec.c
index
b70c45c
..
4dd0c0a
100644
(file)
--- a/
ext/speex/gstspeexdec.c
+++ b/
ext/speex/gstspeexdec.c
@@
-197,17
+197,17
@@
speex_dec_convert (GstPad * pad,
dec = GST_SPEEX_DEC (gst_pad_get_parent (pad));
- if (dec->packetno < 1) {
- res = FALSE;
- goto cleanup;
- }
-
if (src_format == *dest_format) {
*dest_value = src_value;
res = TRUE;
goto cleanup;
}
+ if (dec->packetno < 1) {
+ res = FALSE;
+ goto cleanup;
+ }
+
if (pad == dec->sinkpad &&
(src_format == GST_FORMAT_BYTES || *dest_format == GST_FORMAT_BYTES)) {
res = FALSE;