10l, forgot ';', fix compilation

Originally committed as revision 18962 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2009-05-27 00:48:39 +00:00
parent a5685be502
commit 64d882155d

View File

@ -893,7 +893,7 @@ static void mpegts_push_data(MpegTSFilter *filter,
case MPEGTS_PESHEADER_FILL:
len = pes->pes_header_size - pes->data_index;
if (len < 0)
return
return;
if (len > buf_size)
len = buf_size;
memcpy(pes->header + pes->data_index, p, len);