projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c708253
)
fecdec: Minor cleanups.
author
Andre Noll
<maan@systemlinux.org>
Sun, 1 Mar 2009 20:54:24 +0000
(21:54 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Sun, 1 Mar 2009 20:54:24 +0000
(21:54 +0100)
fecdec_filter.c
patch
|
blob
|
history
diff --git
a/fecdec_filter.c
b/fecdec_filter.c
index 6aa9071e6ea1bbabcf5d874f07b67da71a06db20..5c01a0395e79139a0bbd09633f127b06321d5268 100644
(file)
--- a/
fecdec_filter.c
+++ b/
fecdec_filter.c
@@
-175,14
+175,13
@@
static int get_group(struct fec_header *h, struct private_fecdec_data *pfd,
/* group not found */
fg = find_unused_group(pfd);
if (fg)
- goto
update_header
;
+ goto
success
;
fg = try_to_free_group(pfd);
if (fg)
- goto
update_header
;
+ goto
success
;
fg = free_oldest_group(pfd);
-update_header:
- fg->h = *h;
success:
+ fg->h = *h;
*result = fg;
return 1;
}
@@
-281,7
+280,6
@@
static int dispatch_slice(char *buf, size_t len, struct fec_header *h,
h->slice_num);
return 1;
}
- fg->h = *h;
ret = add_slice(buf, fg);
if (ret < 0)
return ret;