summaryrefslogtreecommitdiff
path: root/softhddev.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2011-12-29 00:55:57 +0100
committerJohns <johns98@gmx.net>2011-12-29 00:55:57 +0100
commit23300b0383286bf4628f679cbf7fccc65d713d9a (patch)
tree0a3ec803bb9d9f0ceb6df169a457b9bfdf81fe21 /softhddev.c
parentbaf10db48ef1b3097134fd19fc782b569e8a26a8 (diff)
downloadvdr-plugin-softhddevice-23300b0383286bf4628f679cbf7fccc65d713d9a.tar.gz
vdr-plugin-softhddevice-23300b0383286bf4628f679cbf7fccc65d713d9a.tar.bz2
Add missing VdpauDecoderDestroy.0.1.3
Diffstat (limited to 'softhddev.c')
-rw-r--r--softhddev.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/softhddev.c b/softhddev.c
index 040fae3..16bf21e 100644
--- a/softhddev.c
+++ b/softhddev.c
@@ -274,9 +274,9 @@ static void VideoEnqueue(int64_t pts, const void *data, int size)
// new + grow reserves FF_INPUT_BUFFER_PADDING_SIZE
av_grow_packet(avpkt, ((size + VIDEO_BUFFER_SIZE / 2)
- / (VIDEO_BUFFER_SIZE / 2)) * (VIDEO_BUFFER_SIZE / 2));
+ / (VIDEO_BUFFER_SIZE / 2)) * (VIDEO_BUFFER_SIZE / 2));
#ifdef DEBUG
- if (avpkt->size <= avpkt->stream_index + size ) {
+ if (avpkt->size <= avpkt->stream_index + size) {
abort();
}
#endif
@@ -888,6 +888,7 @@ void Stop(void)
MyAudioDecoder = NULL;
}
+ VideoOsdExit();
VideoExit();
AudioExit();
CodecExit();