lavc/nvenc: misc cosmetics to reduce diff with Libav

pull/244/merge
Clément Bœsch 8 years ago
parent e849296d0a
commit b7cc4eb303
  1. 2
      libavcodec/nvenc.c

@ -1299,7 +1299,7 @@ static NvencSurface *get_free_frame(NvencContext *ctx)
{
int i;
for (i = 0; i < ctx->nb_surfaces; ++i) {
for (i = 0; i < ctx->nb_surfaces; i++) {
if (!ctx->surfaces[i].lockCount) {
ctx->surfaces[i].lockCount = 1;
return &ctx->surfaces[i];

Loading…
Cancel
Save