/*
- * Copyright (c) 2007 Benoit Fouet <benoit.fouet@purplelabs.com>
+ * Copyright (c) 2007 Benoit Fouet <benoit.fouet@free.fr>
*
* This file is part of FFmpeg.
*
if (!offset)
AV_WB32(*poutbuf+sps_pps_size, 1);
else {
- (*poutbuf+offset)[0] = (*poutbuf+offset)[1] = 0;
- (*poutbuf+offset)[2] = 1;
+ (*poutbuf+offset+sps_pps_size)[0] = (*poutbuf+offset+sps_pps_size)[1] = 0;
+ (*poutbuf+offset+sps_pps_size)[2] = 1;
}
}