summaryrefslogtreecommitdiff
path: root/libavcodec/dxva2_h264.c
diff options
context:
space:
mode:
authorLaurent Aimar <fenrir@videolan.org>2010-05-14 23:09:08 +0000
committerLaurent Aimar <fenrir@videolan.org>2010-05-14 23:09:08 +0000
commit48962f2eb71c41fe30a0b790c318c1c6d953ef3b (patch)
tree527c2c512272d34b61857fded2643722ad0915db /libavcodec/dxva2_h264.c
parentefb816ef64fc2d65fa75254d504f39ab00422fa4 (diff)
Reindent after last commit on dxva2 h264 AVHWAccel.
Originally committed as revision 23141 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dxva2_h264.c')
-rw-r--r--libavcodec/dxva2_h264.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/dxva2_h264.c b/libavcodec/dxva2_h264.c
index b0b126a70a..332a76302b 100644
--- a/libavcodec/dxva2_h264.c
+++ b/libavcodec/dxva2_h264.c
@@ -57,14 +57,14 @@ static void fill_picture_parameters(struct dxva_context *ctx, const H264Context
pp->UsedForReferenceFlags = 0;
pp->NonExistingFrameFlags = 0;
for (i = 0, j = 0; i < FF_ARRAY_ELEMS(pp->RefFrameList); i++) {
- const Picture *r;
- if (j < h->short_ref_count) {
- r = h->short_ref[j++];
- } else {
- r = NULL;
- while (!r && j < h->short_ref_count + 16)
- r = h->long_ref[j++ - h->short_ref_count];
- }
+ const Picture *r;
+ if (j < h->short_ref_count) {
+ r = h->short_ref[j++];
+ } else {
+ r = NULL;
+ while (!r && j < h->short_ref_count + 16)
+ r = h->long_ref[j++ - h->short_ref_count];
+ }
if (r) {
fill_picture_entry(&pp->RefFrameList[i],
ff_dxva2_get_surface_index(ctx, r),