Commit 0bd953e3 authored by fenrir's avatar fenrir

Reindent after last commit on dxva2 h264 AVHWAccel.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23141 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f5373264
......@@ -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),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment