aboutsummaryrefslogtreecommitdiff
path: root/libvpx/examples/svc_encodeframe.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvpx/examples/svc_encodeframe.c')
-rw-r--r--libvpx/examples/svc_encodeframe.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libvpx/examples/svc_encodeframe.c b/libvpx/examples/svc_encodeframe.c
index 08bda0e5c..003096e70 100644
--- a/libvpx/examples/svc_encodeframe.c
+++ b/libvpx/examples/svc_encodeframe.c
@@ -552,11 +552,8 @@ vpx_codec_err_t vpx_svc_encode(SvcContext *svc_ctx, vpx_codec_ctx_t *codec_ctx,
iter = NULL;
while ((cx_pkt = vpx_codec_get_cx_data(codec_ctx, &iter))) {
switch (cx_pkt->kind) {
- case VPX_CODEC_PSNR_PKT: {
- }
- ++si->psnr_pkt_received;
- break;
- default: { break; }
+ case VPX_CODEC_PSNR_PKT: ++si->psnr_pkt_received; break;
+ default: break;
}
}