Mercurial > pt1.oyama
diff src/recpt1.c @ 184:dc0d3addfd18
Fix a bug that failed to DLNA streaming. cosmetic changes.
author | Naoya OYAMA <naoya.oyama@gmail.com> |
---|---|
date | Fri, 09 May 2014 21:30:46 +0900 |
parents | 27e5f99f8991 |
children | 7a0f498af035 |
line wrap: on
line diff
--- a/src/recpt1.c Mon May 05 22:08:21 2014 +0900 +++ b/src/recpt1.c Fri May 09 21:30:46 2014 +0900 @@ -628,17 +628,17 @@ } /* $BJ,N%BP>]0J30$r$U$k$$Mn$H$9(B */ code = split_ts(data->splitter, &buf, &splitbuf); - if(code == TSS_NULL) { + if(code == TSS_NULL) { fprintf(stderr, "PMT reading..\n"); } else if(code != TSS_SUCCESS) { fprintf(stderr, "split_ts failed\n"); break; - } + } break; } /* while */ - buf.size = splitbuf.buffer_size; + buf.size = splitbuf.buffer_filled; buf.data = splitbuf.buffer; fin: pthread_mutex_unlock(&data->splitter_mutex);