summaryrefslogtreecommitdiff
path: root/liboutput/stillimage.c
diff options
context:
space:
mode:
Diffstat (limited to 'liboutput/stillimage.c')
-rw-r--r--liboutput/stillimage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/liboutput/stillimage.c b/liboutput/stillimage.c
index 9058ff0..12bd902 100644
--- a/liboutput/stillimage.c
+++ b/liboutput/stillimage.c
@@ -131,13 +131,13 @@ void cStillImage::Action(void)
/* Methode E ************************************************************/
- unsigned int nFrameSize = *(m_pFramesSize + nFrame);
+ unsigned int nFrameSize = GetFrameSize(nFrame);
if(nFrameSize) // Skip empty Frames
{
BuildPesPacket(Data() + nFrameOff, nFrameSize,1);
nFrameOff += nFrameSize;
}
- if(++nFrame>=m_nFrames)
+ if(++nFrame>=GetFrames())
{
nFrame = 0;
nFrameOff = 0;