mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Reindent after last commit on dxva2 h264 AVHWAccel.
Originally committed as revision 23141 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
efb816ef64
commit
48962f2eb7
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user