aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vdpau/decode.c
diff options
context:
space:
mode:
authorEmeric Grange <[email protected]>2011-09-12 23:39:29 +0200
committerChristian König <[email protected]>2011-09-14 15:49:16 +0200
commitc24bc6f8684abee8c9a1b263334cd7a8506657b1 (patch)
tree4cf3ac9347e521f63350c0778bca9ec8f4778499 /src/gallium/state_trackers/vdpau/decode.c
parent87e84a2dbfb5ee330d4d5594963d7f8b507f9984 (diff)
st/vdpau: Various whitespace cleanups found while reading some code
Signed-off-by: Emeric Grange <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/decode.c')
-rw-r--r--src/gallium/state_trackers/vdpau/decode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/vdpau/decode.c b/src/gallium/state_trackers/vdpau/decode.c
index 35011669cf2..719f8d8d0d4 100644
--- a/src/gallium/state_trackers/vdpau/decode.c
+++ b/src/gallium/state_trackers/vdpau/decode.c
@@ -167,11 +167,11 @@ vlVdpDecoderGetParameters(VdpDecoder decoder,
vldecoder = (vlVdpDecoder *)vlGetDataHTAB(decoder);
if (!vldecoder)
return VDP_STATUS_INVALID_HANDLE;
-
+
*profile = PipeToProfile(vldecoder->decoder->profile);
*width = vldecoder->decoder->width;
*height = vldecoder->decoder->height;
-
+
return VDP_STATUS_OK;
}
@@ -273,7 +273,7 @@ vlVdpDecoderRender(VdpDecoder decoder,
return VDP_STATUS_INVALID_CHROMA_TYPE;
// TODO: Right now only mpeg 1 & 2 is supported.
- switch (vldecoder->decoder->profile) {
+ switch (vldecoder->decoder->profile) {
case PIPE_VIDEO_PROFILE_MPEG1:
case PIPE_VIDEO_PROFILE_MPEG2_SIMPLE:
case PIPE_VIDEO_PROFILE_MPEG2_MAIN: